anyjson
Wraps the best available JSON implementation available in a common interface
Decision gist · record as of 2026-08-14
No. The package is abandoned (last release 2012-06-22) and targets obsolete Python versions (2.4–3.1). Modern Python includes a robust built-in json module that eliminates the need for a wrapper. Install friction is high and compatibility with current Python versions is unverified. Use the standard library json module instead.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Package targets Python 2.4–3.1 and is not maintained for modern Python versions; compatibility with current Python releases is uncertain.
- High install friction due to source distribution format.
- The package is abandoned—last release was 2012-06-22—and no longer maintained.
License · maintenance · safety
BSD (permissive) — BSD license is permissive and poses no restriction on use, modification, or distribution in proprietary or open-source projects.
last release 2012-06-22 (5166 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 105,255 downloads/mo, #12,711 on PyPI
Alternatives
Verify before relying
import anyjson
# Serialize to JSON string
data = anyjson.serialize(["test", 1, {"foo": 3.141592}])
# Deserialize from JSON string
obj = anyjson.deserialize(data)- Whether anyjson works reliably on modern Python versions despite lack of recent maintenance
- Current status of the Bitbucket repository and whether it remains accessible
- Whether the package's JSON backend selection logic still functions with contemporary JSON libraries
What it is and what it does
Anyjson is a JSON library wrapper that was designed to automatically detect and use the fastest available JSON implementation on a system, presenting a uniform API regardless of which backend is installed. It provides serialize() and deserialize() functions that work consistently across different JSON libraries, with standardized exception handling (TypeError for non-JSON-serializable objects, ValueError for invalid JSON).
The package is now obsolete. Modern Python includes a built-in json module that is fast and stable, eliminating the need for a wrapper layer. The package has been abandoned since its last release on 2012-06-22 and receives no maintenance or updates. It was originally part of the carrot project and targets only Python 2.4–3.1, making it unsuitable for current development.
Use it for
- Legacy codebases written for Python 2 that depend on anyjson and cannot be easily refactored to use the built-in json module
- Projects that require runtime selection between multiple JSON backends for performance tuning on specific systems
- Code that needs consistent exception types across different JSON library implementations
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last release 2012-06-22) and targets obsolete Python versions (2.4–3.1). Modern Python includes a robust built-in json module that eliminates the need for a wrapper. Install friction is high and compatibility with current Python versions is unverified. Use the standard library json module instead.
Install
anyjson on PyPI
Before you install
High install friction due to source distribution format. The package is abandoned—last release was 2012-06-22—and no longer maintained. Modern Python versions have built-in json support that supersedes this wrapper's original purpose.
Package targets Python 2.4–3.1 and is not maintained for modern Python versions; compatibility with current Python releases is uncertain.
License in practice
BSD license is permissive and poses no restriction on use, modification, or distribution in proprietary or open-source projects.
Quickstart
import anyjson
# Serialize to JSON string
data = anyjson.serialize(["test", 1, {"foo": 3.141592}])
# Deserialize from JSON string
obj = anyjson.deserialize(data)
Verify before relying
- Whether anyjson works reliably on modern Python versions despite lack of recent maintenance
- Current status of the Bitbucket repository and whether it remains accessible
- Whether the package's JSON backend selection logic still functions with contemporary JSON libraries
Package facts
| License | BSD permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 5,166 days since the last release |
| First released | |
| Downloads | 105,255 / month, #12,711 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.4Programming Language :: Python :: 2.5Programming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.1Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: JythonProgramming Language :: Python :: Implementation :: PyPy |
Evidence: anyjson-0.3.3.tar.gz
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “json library wrapper”
- anyjsonAnyjson provides a uniform API for JSON serialization and…
- python-rapidjsonFast JSON serialization and deserialization with JSON Schema…
- jsonobjectjsonobject provides a Python library for mapping deeply nested JSON…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also orjson · interchange · phpserialize · json_logic_qubit · oslo.serialization · apischema · jsonobject · python-rapidjson · infinity · ujson