Decoder for json/yaml documents
Project description
Welcome to jazzml!
jazzml
is a lightweight package to decode both json and yaml documents.
It does so by allowing the user to first specify a Decoder and then apply it to a json/yaml document.
A Decoder can be viewed as a specification of the expected structure of a json/yaml document.
This 2 step strategy brings some level of implicit checking. That is, if a document structure does not conform to the Decoder, the parsing fail.
Other nice features of jazzml
include the possibility to define Decoders for recursive data structures and to dynamically choose a Decoder based on some specific value defined by the json/yaml document.
You'll find a more complete documentation on readthedocs.io
I hope you'll enjoy it.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file jazzml-0.1.1.tar.gz
.
File metadata
- Download URL: jazzml-0.1.1.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
977b7017dd104d280b58ee775ec7aef5059bd877b593252e7e721aa8e0c1decc
|
|
MD5 |
382eeb6a9e9cee33ac8f161c34f65544
|
|
BLAKE2b-256 |
d55ccb0e8bd2e0daa263bd130c39cda5091bd6dba235d4335177623be4f3d7d8
|
File details
Details for the file jazzml-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: jazzml-0.1.1-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
31e4caa6f35f739f3b91da6a22b20146f2f118417792b78f369dd3c83d0b016c
|
|
MD5 |
f2a4f68210ea1fea973b931933aa75f7
|
|
BLAKE2b-256 |
564321712298be28ca0243f7869b1eb7295d32fb8656f171543b63ccce63de9c
|