robotframework-jsonlibrary
robotframework-jsonlibrary is a Robot Framework test library for manipulating JSON Object. You can manipulate your JSON object using JSONPath
What it is and what it does
robotframework-jsonlibrary is a Robot Framework test library that bridges Robot Framework to the jsonpath-ng parser, enabling test automation against JSON data structures. It provides keywords to load JSON from files, query values using JSONPath expressions (a syntax similar to XPath for XML), and validate JSON structure and content. The library supports adding, updating, deleting, and retrieving values from JSON objects, as well as validating JSON against schemas.
The package is intended for test automation scenarios where JSON responses or data need to be inspected and manipulated within Robot Framework test cases. It uses JSONPath syntax to navigate and operate on JSON documents. The library has been stable since its initial release but has not received updates in over three years.
Use it for:
- Validate JSON responses from REST APIs in Robot Framework test cases using JSONPath queries
- Extract and assert specific values from nested JSON structures during automated testing
- Validate JSON payloads against JSON Schema definitions within test workflows
- Manipulate test data by adding or updating fields in JSON objects before sending requests
- Load and dump JSON test fixtures from files as part of test setup and teardown
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A Robot Framework library for querying, adding, updating, and deleting values in JSON objects using JSONPath expressions.
Yes, if you are actively using Robot Framework for API or JSON-heavy test automation and need JSONPath query support. The library is stable and permissively licensed, but the 1467-day gap since the last release means compatibility with very recent Robot Framework or Python versions should be verified before use.
Install
robotframework-jsonlibrary on PyPI
pip
pip install robotframework-jsonlibraryuv
uv add robotframework-jsonlibrarypoetry
poetry add robotframework-jsonlibraryInstalling robotframework-jsonlibrary
Before you install
High install friction due to the distribution format (tar.gz source archive). The package is dormant—last release was 1467 days ago with no recent maintenance activity, though the repository remains active and marked Production/Stable.
License in practice
Licensed under permissive terms (Public Domain), so there are no licensing restrictions on use or distribution.
Quickstart
pip install robotframework-jsonlibrary
In a Robot Framework test file:
*** Settings ***
Library JSONLibrary
*** Test Cases ***
Test JSON Manipulation
${json_obj}= Load Json From File example.json
${value}= Get Value From Json ${json_obj} $..country
Robot Framework must be installed separately; the package does not declare it as an explicit dependency in the fact sheet.
Verify before relying
- Whether the package works with modern Robot Framework versions and current Python 3.x releases
- Compatibility with the latest jsonpath-ng parser versions
- Whether Robot Framework is explicitly declared as a dependency or must be pre-installed
Package facts
| License | not declared (permissive) |
| Python support | not specified |
| Install friction | high — source build required |
| Runtime dependencies | none |
| Maintenance | dormant — 1,467 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 569,574/month — #5,961 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: robotframework-jsonlibrary-0.5.tar.gz
Keywords: testing, robotframework, json, jsonschema, jsonpath
Tags
More Testing packages
Pluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
virtualenvvirtualenv creates isolated Python environments…
permissive · top 100 on PyPI
coverageCoverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
pytest-asynciopytest-asyncio is a pytest plugin that enables…
permissive · top 1,000 on PyPI
pytest-json-ctrfA pytest plugin that generates test reports in…
permissive · top 1,000 on PyPI
RESTinstanceRESTinstance is a Robot Framework library that…
copyleft · top 15,000 on PyPI
robotframework-assertion-engineProvides a standardized assertion engine for…
permissive · top 15,000 on PyPI
jsonpath-ngParse, query, and modify JSON structures using…
permissive · top 1,000 on PyPI
robotframework-seleniumlibrarySeleniumLibrary is a Robot Framework library…
permissive · top 5,000 on PyPI
jsonpathImplements JSONPath, a query language for…
permissive · top 5,000 on PyPI
robotframework-csvlibraryCSVLibrary is a Robot Framework library that…
permissive · top 15,000 on PyPI
jsonpath-rwParses and executes JSONPath expressions…
permissive · top 5,000 on PyPI
bc-jsonpath-ngParses and queries JSON structures using…
permissive · top 5,000 on PyPI
robotframework-excellibProvides Robot Framework keywords for reading,…
permissive · top 15,000 on PyPI
json-logicParses and executes JsonLogic rules—a…
permissive · top 5,000 on PyPI