RETIRED, further work has moved to Debian project infrastructure
Go to file
Mehdi Abaakouk 8f493bbc30 Returns all datum if no filter are set. 2015-08-22 17:38:59 +02:00
doc/source Fix package name 2015-08-18 17:53:43 +02:00
jsonpath_rw_ext Returns all datum if no filter are set. 2015-08-22 17:38:59 +02:00
.coveragerc Initial Commit. 2015-08-18 16:27:00 +02:00
.gitignore Initial Commit. 2015-08-18 16:27:00 +02:00
.gitreview Initial Commit. 2015-08-18 16:27:00 +02:00
.mailmap Initial Commit. 2015-08-18 16:27:00 +02:00
.testr.conf Initial Commit. 2015-08-18 16:27:00 +02:00
.travis.yml Remove py32, mock is not supported 2015-08-18 17:26:55 +02:00
CONTRIBUTING.rst Initial Commit. 2015-08-18 16:27:00 +02:00
HACKING.rst Fix package name 2015-08-18 17:53:43 +02:00
LICENSE Initial Commit. 2015-08-18 16:27:00 +02:00
MANIFEST.in Initial Commit. 2015-08-18 16:27:00 +02:00
README.rst Fix examples 2015-08-19 17:11:38 +02:00
babel.cfg Initial Commit. 2015-08-18 16:27:00 +02:00
openstack-common.conf Initial Commit. 2015-08-18 16:27:00 +02:00
releases.sh Fix package name 2015-08-18 17:53:43 +02:00
requirements.txt Initial Commit. 2015-08-18 16:27:00 +02:00
setup.cfg Fix package name 2015-08-18 17:53:43 +02:00
setup.py Initial Commit. 2015-08-18 16:27:00 +02:00
test-requirements.txt Initial Commit. 2015-08-18 16:27:00 +02:00
tox.ini Initial Commit. 2015-08-18 16:27:00 +02:00

README.rst

python-jsonpath-rw-ext

image

Latest Version

Downloads

Extensions for JSONPath RW

This extensions will be proposed upstream and will stay here only if they are refused.

Quick Start

At the command line:

$ pip install jsonpath-rw-ext

Or, if you have virtualenvwrapper installed:

$ mkvirtualenv jsonpath-rw-ext
$ pip install jsonpath-rw-ext

Extensions

name Example
len
  • $.objects.len
sorted
  • $.objects.sorted
  • $.objects[\some_field]
  • $.objects[\some_field,/other_field]
filter
  • $.objects[?(@some_field > 5)]
  • $.objects[?some_field = "foobar")]
  • $.objects[?some_field > 5 & other < 2)]