Skip to main content

Python library for working with JSON and JSON schema.

Changelog

0.0.6 (2025-04-14)

  • project name uses underscores now

0.0.5 (2020-03-18)

  • Removed unnecessary validation from sub-components of objects which already validate themselves.

0.0.4 (2020-03-04)

  • Fixed bug in ArrayProxy where __iadd__ wasn’t returning itself.

  • Fixed default values for list methods of ArrayProxy.

0.0.3 (2020-02-26)

  • EnumProperty now returns its values as a frozen-set to avoid copy operation.

  • Optional properties can now have default values for if they’re not specified.

  • Additional methods/options for introspecting/altering properties.

0.0.2 (2020-02-21)

  • Added the ability to create a JSONObject property directly from the class.

  • Properties can now be reused between JSON objects, as long as the attribute name stays the same.

  • ConstantProperty and EnumProperty can now report their values.

  • StaticJSONValidator can now cache schema/validators for unhashable objects.

  • Pretty serialisation.

  • Can query the optionality of a property.

  • Can specify initial values by attribute name.

  • Can see if the class OR an instance has a property (instances include additional properties).

  • Iterating over properties now only iterates over the names, and can be done on the class or an instance, as above.

  • Sub-types can pass programmatic properties in __init_subclass__.

0.0.1 (2020-02-20)

  • Initial release

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wai_json-0.0.6.tar.gz (27.1 kB view details)

Uploaded Source

File details

Details for the file wai_json-0.0.6.tar.gz.

File metadata

  • Download URL: wai_json-0.0.6.tar.gz
  • Upload date:
  • Size: 27.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for wai_json-0.0.6.tar.gz
Algorithm Hash digest
SHA256 139336e9307e5554d3aeaeedaba233fe867b952d91217f43b6288d778c2d00b3
MD5 4ab7ed80d5c7c2a5c9b88df9ea17a4ed
BLAKE2b-256 48cd13538f4dd76ffd32a5d8c8935bffdb739810410afa0f07f87880d0907ff9

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.6 This release

1 file

0.0.5

1 file

0.0.4

1 file

0.0.3

1 file

0.0.2

1 file

0.0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page