An open API service indexing awesome lists of open source software.

https://github.com/rmax/jmesobj

JMESPath-powered lightweight data container ideal for JSON payloads.
https://github.com/rmax/jmesobj

jmespath python

Last synced: about 1 year ago
JSON representation

JMESPath-powered lightweight data container ideal for JSON payloads.

Awesome Lists containing this project

README

          

JMESObj Lightweight Data Container
----------------------------------

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