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).
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.