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
Close
Hashes for robotframework_jsonquery-1.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79ce93991bfd69530763ba22ad364e720270676746977555a1b1770b4d25d845 |
|
MD5 | 2a22f429bfab0609a505218f9f6f32a7 |
|
BLAKE2b-256 | f60754b42219589646c3451031558833f799181278225475a062c3650ec071d7 |
Close
Hashes for robotframework_jsonquery-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26a023d372a55a379b44460cc984fe6bd9a96b42ce0d9bcdf57a8c28c2149d86 |
|
MD5 | 5bd5bb5e20db89090f6177a0731afa97 |
|
BLAKE2b-256 | d4c7424e80cfb6108c531fdc2622217468faeef78c649f8226fd2e1d11356a34 |