Registry / serialization / anyjson

anyjson

JSON →
library0.3.3pypypiunverified

Wraps the best available JSON implementation available in a common interface. Current version 0.3.3. Unmaintained since 2012; essentially abandoned.

pip install anyjson
INSTALL
IMPORT
SIG · ANYJSON
A
anyjson
serializationpythonv0.3.3
Install
Import
Disk
Pass rate
0/ 10
Env Coverage0 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v? · pip install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
build_error
glibc
py 3.103.95 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

anyjson
import anyjson

Encode and decode JSON using anyjson.

import anyjson data = {'hello': 'world'} encoded = anyjson.serialize(data) print(encoded) decoded = anyjson.deserialize(encoded) print(decoded)
Debug
Known issues
deprecatedanyjson is unmaintained and considered deprecated. Use the standard library json module instead.
fix
Replace import anyjson with import json.
affects: all
gotchaanyjson selects a backend at import time based on what is available. This can lead to inconsistent behavior across environments.
fix
Use a specific JSON library directly (e.g., json, ujson, orjson).
affects: all
Upgrade
Version history
0.3.3latest on PyPI · released Jun 22, 2012
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
26
Resources
anyjson — pip install anyjson · libregistry