Skip to content

v0.1.0

Choose a tag to compare

@timrburnham timrburnham released this 19 May 05:06

v0.1.0 — Initial release

paperjson is a paper-thin JSON serialization/deserialization library for Python dataclasses.

  • SerdesBase — inherit for full type-checker/LSP support with to_json() / from_json()
  • @serdes decorator — inject methods at runtime without a base class
  • SerdesProtocol — use in type annotations for structural typing
  • register_serializer / register_deserializer — add custom type support
  • Built-in support for datetime, Path, Decimal, and nested dataclasses