Skip to main content

Write strings to access nested JSON objects

Project description

Jaccs allows you to pull data from JSON objects using string Python expressions. For example:

>>> from jaccs import access
>>> access({'a': 'b': [{'c': 1}, {'c': 2}]}, '_.a.b[1].c')

This is expected to be most useful for combining specifications stored in external text files (say JSON or YAML) with data objects in Python.

Documentation is at

Project details

Download files

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

Source Distributions (5.9 kB view hashes)

Uploaded Source

jaccs-1.0.0.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

jaccs-1.0.0-py2.py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 2 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