Expand description
JSON encoding/decoding for backwards compatibility.
Provides human-readable serialization format for debugging and legacy support.
Functionsยง
- decode
- Deserialize from JSON bytes.
- decode_
from - Deserialize from a JSON reader.
- encode
- Serialize to pretty-printed JSON bytes.
- encode_
compact - Serialize to compact (no whitespace) JSON bytes.
- encode_
to - Serialize pretty-printed JSON into a writer.
- encode_
to_ compact - Serialize compact JSON into a writer.
- from_
string - Deserialize from a JSON
&str. - to_
string - Serialize to a pretty-printed JSON
String. - to_
string_ compact - Serialize to a compact JSON
String.