jsonpath.py
extended implementation of JSONPath for Python 2.x
Install
- All systems
-
curl cmd.cat/jsonpath.py.sh
- Debian
-
apt-get install python-jsonpath-rw
- Ubuntu
-
apt-get install python-jsonpath-rw
- Kali Linux
-
apt-get install python-jsonpath-rw
- Fedora
-
dnf install python-jsonpath-rw
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install python-jsonpath-rw
- Raspbian
-
apt-get install python-jsonpath-rw
- Dockerfile
- dockerfile.run/jsonpath.py
python-jsonpath-rw
extended implementation of JSONPath for Python 2.x
This library provides a robust and significantly extended implementation of JSONPath for Python. It is tested with Python 2.6, 2.7, 3.2, and 3.3. This library differs from other JSONPath implementations in that it is a full language implementation, meaning the JSONPath expressions are first class objects, easy to analyze, transform, parse, print, and extend. The JSONPath syntax supported by this library includes some additional features and omits some problematic features (those that make it unportable). In particular, some new operators such as "|" and "where" are available, and parentheses are used for grouping not for callbacks into Python, since with these changes the language is not trivially associative. Also, fields may be quoted whether or not they are contained in brackets. This package provides the Python 2.x module.
python3-jsonpath-rw
extended implementation of JSONPath for Python 3.x
This library provides a robust and significantly extended implementation of JSONPath for Python. It is tested with Python 2.6, 2.7, 3.2, and 3.3. This library differs from other JSONPath implementations in that it is a full language implementation, meaning the JSONPath expressions are first class objects, easy to analyze, transform, parse, print, and extend. The JSONPath syntax supported by this library includes some additional features and omits some problematic features (those that make it unportable). In particular, some new operators such as "|" and "where" are available, and parentheses are used for grouping not for callbacks into Python, since with these changes the language is not trivially associative. Also, fields may be quoted whether or not they are contained in brackets. This package provides the Python 3.x module.