Skip to content

3.0.2

Compare
Choose a tag to compare
@ijl ijl released this 27 May 14:27
· 371 commits to master since this release

Changed

  • orjson.dumps() does not serialize dataclasses.dataclass attributes
    that begin with a leading underscore, e.g., _attr. This is because of the
    Python idiom that a leading underscores marks an attribute as "private."
  • orjson.dumps() does not serialize dataclasses.dataclass attributes that
    are InitVar or ClassVar whether using __slots__ or not.