Added
orjson.dumps()
serializesdict
instances sorted by keys, equivalent to
sort_keys
in other implementations, ifoption=orjson.OPT_SORT_KEYS
is
specified.
Changed
dataclasses.dataclass
instances without__slots__
now serialize faster.
Fixed
- Fix documentation on
default
, in particular documenting the need to raise
an exception if the type cannot be handled.