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)
Built Distribution
Close
Hashes for python_jata-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 620702a0faf650c0b502af1bd4e7f89ce8e2dc2d6d2dc21499660986feabcde9 |
|
MD5 | 73d5a681b4c1472d0d96b3e6a50e1307 |
|
BLAKE2b-256 | eb5a0c94e9279e1f01c2973825f7a486ecbf1d420a95b5695b296e431352a352 |