/xjson

Simple Python JSON library, based on pybind11_json

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

xjson

The simplest JSON library for Python. Performances are decent.

It exposes two functions:

from xjson import dumps, loads

# Dump JSON-like object to string
dumps({"Hello": "World"})

# Load JSON string into Python object
loads('[1, 2, 3]')