Options
Fields of this type
Fields
- whitespace:enum { minified, indent_1, indent_2, indent_3, indent_4, indent_8, indent_tab, }
- Controls the whitespace emitted.
- emit_null_optional_fields:bool
- Should optional fields with null value be written?
- emit_strings_as_arrays:bool
- Arrays/slices of u8 are typically encoded as JSON strings.
- escape_unicode:bool
- Should unicode characters be escaped in strings?
- emit_nonportable_numbers_as_strings:bool
- When true, renders numbers outside the range `+-1<<53` (the precise integer range of f64) as JSON strings in base 10.