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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb99a7fc914cdb80b88f5f6f93809dc207f672eacaa06b853461f44a61cdefe5 |
|
MD5 | 1030690ab58773fe4a916f3eefda3f83 |
|
BLAKE2b-256 | 73d2c8dbfe8528a53ddde47ca370ab91a2ea99c79ceb3f53a4a13405e598c557 |
Close
Hashes for robotframework_jsonquery-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 322ced2785f3cff4eaaaabd8c0faa6cd9ebc78f3e4da909c5be5417d8e41a60a |
|
MD5 | c6327612aa927690430496a97297a238 |
|
BLAKE2b-256 | f48061016702881cfb31cabbcae8bf06e96d2a39e477d729a589ccad4a6a66ec |