skillfed

robotframework-jsonlibrary

robotframework-jsonlibrary is a Robot Framework test library for manipulating JSON Object. You can manipulate your JSON object using JSONPath

robotframework-jsonlibrary v0.5 569.6K downloads/30d#5,961 on PyPI49
Permissive license DORMANT released

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-jsonlibrary

uv

uv add robotframework-jsonlibrary

poetry

poetry add robotframework-jsonlibrary

Installing 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

Development Status :: 5 - Production/StableFramework :: Robot Framework :: LibraryIntended Audience :: DevelopersLicense :: Public DomainProgramming Language :: Python :: 3Topic :: Software Development :: Testing

Tags

robot framework json manipulationjsonpath test automationjson library robot frameworkrobot framework json assertionsjson validation testingjsonpath expressions robotjson schema validation robot
robot-frameworkjson-testingtest-automation

More Testing packages

pluggy

Pluggy provides a plugin system that lets you…

permissive · top 100 on PyPI

pytest

pytest is a testing framework that lets you…

permissive · top 100 on PyPI

virtualenv

virtualenv creates isolated Python environments…

permissive · top 100 on PyPI

coverage

Coverage.py measures which lines of Python code…

permissive · top 1,000 on PyPI

pytest-asyncio

pytest-asyncio is a pytest plugin that enables…

permissive · top 1,000 on PyPI

pytest-json-ctrf

A pytest plugin that generates test reports in…

permissive · top 1,000 on PyPI

RESTinstance

RESTinstance is a Robot Framework library that…

copyleft · top 15,000 on PyPI

robotframework-assertion-engine

Provides a standardized assertion engine for…

permissive · top 15,000 on PyPI

jsonpath-ng

Parse, query, and modify JSON structures using…

permissive · top 1,000 on PyPI

robotframework-seleniumlibrary

SeleniumLibrary is a Robot Framework library…

permissive · top 5,000 on PyPI

jsonpath

Implements JSONPath, a query language for…

permissive · top 5,000 on PyPI

robotframework-csvlibrary

CSVLibrary is a Robot Framework library that…

permissive · top 15,000 on PyPI

jsonpath-rw

Parses and executes JSONPath expressions…

permissive · top 5,000 on PyPI

bc-jsonpath-ng

Parses and queries JSON structures using…

permissive · top 5,000 on PyPI

robotframework-excellib

Provides Robot Framework keywords for reading,…

permissive · top 15,000 on PyPI

json-logic

Parses and executes JsonLogic rules—a…

permissive · top 5,000 on PyPI