- Add a new
msgspec.json.Decoder.decode_lines
method for decoding newline-delimited JSON into a list of values (#485). - Support for decoding UUIDs from binary values (#499).
- Support for encoding UUIDs in alternate formats (#499).
- Overhaul how dataclasses are encoded to support more dataclass-like objects (#501).
- Encode all declared fields on a dataclass (#501).
- Support encoding
edgedb.Object
instances as dataclass-like objects (#501). - Improve performance when json decoding
float
values (#510). - Support for JSON encoding dicts with
float
keys (#510). - Support for JSON decoding dicts with
float
keys (#510). - Add
float_hook
tomsgspec.json.Decoder
to support changing the default for how JSON floats are decoded (#511).