github ijl/orjson 2.0.0

latest releases: 3.10.7, 3.10.6, 3.10.5...
5 years ago

Added

  • orjson.dumps() accepts a default callable to serialize arbitrary
    types.
  • orjson.dumps() accepts datetime.datetime, datetime.date,
    and datetime.time. Each is serialized to an RFC 3339 string.
  • orjson.dumps(..., option=orjson.OPT_NAIVE_UTC) allows serializing
    datetime.datetime objects that do not have a timezone set as UTC.
  • orjson.dumps(..., option=orjson.OPT_STRICT_INTEGER) available to
    raise an error on integer values outside the 53-bit range of all JSON
    implementations.

Changed

  • orjson.dumps() no longer accepts bytes.

Don't miss a new orjson release

NewReleases is sending notifications on new releases.