Module json_with_comments::ser
source · Modules§
Functions§
- Serialize struct
Sas a minified JSON with comments text of the given file. If you want to serialize as pretty formatted JSONC text, useto_file_prettyinstead. - Serialize struct
Sas a pretty formatted JSON with comments text of the given file. If you want to serialize as minified JSONC text, useto_fileinstead. - Serialize struct
Sas a minified JSON with comments text of the given path. If you want to serialize as pretty formatted JSONC text, useto_path_prettyinstead. - Serialize struct
Sas a pretty formatted JSON with comments text of the given path. If you want to serialize as minified JSONC text, useto_pathinstead. - Serialize struct
Sas minified JSON with comments text. If you want to serialize as pretty formatted JSONC text, useto_string_prettyinstead. - Serialize struct
Sas pretty formatted JSON with comments text. If you want to serialize as minified JSONC text, useto_stringinstead. - Serialize
Ttocrate::value::JsoncValue - Serialize struct
Sas a JSON with comments text of the given writer.