diff --git a/morpheus/_lib/src/io/serializers.cpp b/morpheus/_lib/src/io/serializers.cpp index cf7f1d78cd..b95b32fd4b 100644 --- a/morpheus/_lib/src/io/serializers.cpp +++ b/morpheus/_lib/src/io/serializers.cpp @@ -158,7 +158,11 @@ void table_to_json(const TableInfoData& tbl, std::ostream& out_stream, bool incl OStreamSink sink(out_stream); auto destination = cudf::io::sink_info(&sink); - auto options_builder = cudf::io::json_writer_options_builder(destination, tbl_view).metadata(tbl_meta).lines(true); + auto options_builder = cudf::io::json_writer_options_builder(destination, tbl_view) + .metadata(tbl_meta) + .lines(true) + .include_nulls(true) + .na_rep("null"); cudf::io::write_json(options_builder.build(), rmm::mr::get_current_device_resource());