Skip to main content

robotframework-jsonquery tests PyPI version

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robotframework_jsonquery-1.0.3.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

robotframework_jsonquery-1.0.3-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file robotframework_jsonquery-1.0.3.tar.gz.

File metadata

File hashes

Hashes for robotframework_jsonquery-1.0.3.tar.gz
Algorithm Hash digest
SHA256 734b662e5cc59165034ce211d2b11a7b21eef0a3e4e0462f48b1b0851e838477
MD5 e082c69fc636dd5e15c937f8a2666e52
BLAKE2b-256 6e82351199aa6dc358555845b17a98ba340d0ddacc6152a835e8b238e53d5081

See more details on using hashes here.

File details

Details for the file robotframework_jsonquery-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for robotframework_jsonquery-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d0ce068eede7ee230fd06782da741756dc7389ba0e2cdcb4395c6204b2c909d7
MD5 e9cbb73882c720041431b0793c9f14e7
BLAKE2b-256 12d125c9089df67bc2e27dd636b2f376f252eda4b3583cb1ee9161fe11fca807

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page