Skip to main content

Typed json data

Project description

Jata - Typed Json Data

Simple class to convert to and from json with benefits of IDE autocomplete. Designed primarily for using Json web APIs directly without an unnecessary wrapper client. See example.py for usage

Features

  • Allows to declare types and defaults in class definition
  • No restriction on the order of default and non-default fields even for inherited fields
  • Does no validation, all fields are optional and can be set later
  • Allows python keywords as fields with pykw_ prefix. The prefix is automatically removed/added on json conversion
  • Does not care about extra unexpected fields. They just silently exist. Beware of typhos!

Related

Project details


Download files

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

Source Distribution

python-jata-1.0.tar.gz (8.6 kB view hashes)

Uploaded Source

Built Distribution

python_jata-1.0-py3-none-any.whl (8.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page