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
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
Query Json ${file} friends[?id>`1`] #jmespath syntax
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
Close
Hashes for robotframework_jsonquery-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86b39bb91631dcea5449fe3153b29a3e382fc554b085706a435a25524ac0fc69 |
|
MD5 | 8be1148919356260c47ace6b0c079043 |
|
BLAKE2b-256 | fceca8c7b4ca3f616bc2e5bab0642124f64fd78064b12e1b8eaba81e54f32a7c |
Close
Hashes for robotframework_jsonquery-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 924a8abdadfff0fc22f40bdc66a3cd1e102a404996b56f55b6a56f98d76fe07f |
|
MD5 | 68eff0c41fe53c1fa8e43949e8b1367b |
|
BLAKE2b-256 | ad3daae82414800b0711edab4aead4176f0f3bec296c7a683c7fdd883d29734b |