robotframework-jsonvalidator
Short Description
Robot Framework library for JSON validation based on JSONSchema, JSONPath, JSONSelect.
Additional Information
Installation
Install the library from PyPI using pip:
pip install robotframework-jsonvalidator
Dependencies
Documentation
See keyword documentation for JsonValidator library on GitHub.
Example
json_example.json
{
"store": {
"book": [
{
"category": "reference",
"author": "Nigel Rees",
"title": "Sayings of the Century",
"price": 8.95
},
{
"category": "fiction",
"author": "Evelyn Waugh",
"title": "Sword of Honour",
"price": 12.99
},
{
"category": "fiction",
"author": "Herman Melville",
"title": "Moby Dick",
"isbn": "0-553-21311-3",
"price": 8.99
},
{
"category": "fiction",
"author": "J. R. R. Tolkien",
"title": "The Lord of the Rings",
"isbn": "0-395-19395-8",
"price": 22.99
}
],
"bicycle": {
"color": "red",
"price": 19.95
}
}
}
Robot Framework test case:
*** Settings ***
Library JsonValidator
Library OperatingSystem
*** Test Cases ***
Check Element
${json_example}= OperatingSystem.Get File ${CURDIR}${/}json_example.json
Element should exist ${json_example} .author:contains("Evelyn Waugh")
License
Apache License 2.0
Metadata
Release files for robotframework-jsonvalidator 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| robotframework-jsonvalidator-2.0.0.tar.gz | 6.7 kB | Without provenance | Details for robotframework-jsonvalidator-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| robotframework_jsonvalidator-2.0.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for robotframework_jsonvalidator-2.0.0-py2.py3-none-any.whl |
Total release size: 17.3 kB
Release files / robotframework-jsonvalidator-2.0.0.tar.gz
| Download URL | robotframework-jsonvalidator-2.0.0.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee6a00c3ab31f73ac2a4b7e9dc787efff47bf5d675e6ea831268a8d00df8b95a
|
|
BLAKE2b-256 checksum How to use checksums |
a980c1ec38be40ce567c73c8a04b0a9e0168f9478be272e3a0b0bd38951831f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8
|
Release files / robotframework_jsonvalidator-2.0.0-py2.py3-none-any.whl
| Download URL | robotframework_jsonvalidator-2.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 10.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
6872589cfcbd17882ed33b1ee275c5c5c0f170d691637ccf5d05cd0fbf49d545
|
|
BLAKE2b-256 checksum How to use checksums |
e18d119eba03999517a3bdc35857780f18263d54fc8b573fd6fb91f2ad1f68c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8
|
Security for robotframework-jsonvalidator 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.