{"id":20931,"library":"anyjson","title":"anyjson","description":"Wraps the best available JSON implementation available in a common interface. Current version 0.3.3. Unmaintained since 2012; essentially abandoned.","status":"deprecated","version":"0.3.3","language":"python","source_language":"en","source_url":"https://github.com/simplegeo/python-anyjson","tags":["json","wrapper","deprecated"],"install":[{"cmd":"pip install anyjson","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"","wrong":"","symbol":"anyjson","correct":"import anyjson"}],"quickstart":{"code":"import anyjson\n\ndata = {'hello': 'world'}\nencoded = anyjson.serialize(data)\nprint(encoded)\ndecoded = anyjson.deserialize(encoded)\nprint(decoded)","lang":"python","description":"Encode and decode JSON using anyjson."},"warnings":[{"fix":"Replace import anyjson with import json.","message":"anyjson is unmaintained and considered deprecated. Use the standard library json module instead.","severity":"deprecated","affected_versions":"all"},{"fix":"Use a specific JSON library directly (e.g., json, ujson, orjson).","message":"anyjson selects a backend at import time based on what is available. This can lead to inconsistent behavior across environments.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"pip install anyjson","cause":"anyjson is not installed.","error":"ImportError: No module named anyjson"},{"fix":"Use anyjson.serialize() and anyjson.deserialize().","cause":"anyjson uses 'serialize' and 'deserialize', not 'dumps' and 'loads'.","error":"AttributeError: module 'anyjson' has no attribute 'dumps'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}