Module json_with_comments::ser
source · Modules§
Functions§
- Serialize struct
S
as a minified JSON with comments text of the given file. If you want to serialize as pretty formatted JSONC text, useto_file_pretty
instead. - Serialize struct
S
as a pretty formatted JSON with comments text of the given file. If you want to serialize as minified JSONC text, useto_file
instead. - Serialize struct
S
as a minified JSON with comments text of the given path. If you want to serialize as pretty formatted JSONC text, useto_path_pretty
instead. - Serialize struct
S
as a pretty formatted JSON with comments text of the given path. If you want to serialize as minified JSONC text, useto_path
instead. - Serialize struct
S
as minified JSON with comments text. If you want to serialize as pretty formatted JSONC text, useto_string_pretty
instead. - Serialize struct
S
as pretty formatted JSON with comments text. If you want to serialize as minified JSONC text, useto_string
instead. - Serialize
T
tocrate::value::JsoncValue
- Serialize struct
S
as a JSON with comments text of the given writer.