Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

A library of useful functions to get value from nested JSON

Project description

jQuery selector liked JSON query tool

Example Usage

import jjson

# Get string from nested JSON
j = {
        "foo": {
                "bar": {
                        "test": "hello world"
                }
        }
}
p = "foo.bar.test"
print jjson.extract(j, p)
# hello world

Install

The latest stable version can always be installed or updated via pip:

$ pip install git+https://github.com/festum/jjson.git

# Alternative
$ pip install jjson

TODO

  • CLI
  • Test case
  • Change value from certain node

Contributions

Issues and Pull Requests are always welcome.

License

Code and documentation are available according to the MIT License (see LICENSE).

Release history Release notifications

This version
History Node

0.0.3

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
jjson-0.0.3.linux-x86_64.tar.gz (1.4 kB) Copy SHA256 hash SHA256 Source None Feb 7, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page