JMESPath-powered data container ideal for JSON payloads.
Project description
This project contains a class with index-like JMESPath querying.
Example:
>>> from jmesobj import JMESObj >>> obj = JMESObj.from_json('{"foo": {"bar": true, "baz": false}}') >>> obj['foo.bar'] True >>> obj['foo.*'] [True, False]
Installation
Using pip:
$ pip install jmesobj
Development
Development environment is set up by pipenv:
$ pipenv install --dev
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
jmesobj-0.0.1.tar.gz
(2.0 kB
view hashes)