Robot Framework library for parsing json files
Project description
robotframework-jsonquery

Simple wrapper for libraries used to query json files with different query language implementations
- jsonpath-ng.ext (extended version with e.g. filters)
- jsonpath-ng
- jmespath
Example:
*** Settings ***
Library JsonQuery jsonpath-ng.ext
*** Test Cases ***
Read and query json file
${file} Read Json File sample.json
${result} Query Json ${file} friends[?(@.id>1)] #jsonpath-ng.ext syntax
*** Settings ***
Library JsonQuery jmespath
*** Test Cases ***
Read and query json file
${file} Read Json File sample.json
${result} Query Json ${file} friends[?id>`1`] #jmespath syntax
Documentation
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.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file robotframework_jsonquery-1.0.3.tar.gz.
File metadata
- Download URL: robotframework_jsonquery-1.0.3.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
734b662e5cc59165034ce211d2b11a7b21eef0a3e4e0462f48b1b0851e838477
|
|
| MD5 |
e082c69fc636dd5e15c937f8a2666e52
|
|
| BLAKE2b-256 |
6e82351199aa6dc358555845b17a98ba340d0ddacc6152a835e8b238e53d5081
|
File details
Details for the file robotframework_jsonquery-1.0.3-py3-none-any.whl.
File metadata
- Download URL: robotframework_jsonquery-1.0.3-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0ce068eede7ee230fd06782da741756dc7389ba0e2cdcb4395c6204b2c909d7
|
|
| MD5 |
e9cbb73882c720041431b0793c9f14e7
|
|
| BLAKE2b-256 |
12d125c9089df67bc2e27dd636b2f376f252eda4b3583cb1ee9161fe11fca807
|