jsonasobj
JSON as python objects
What it is and what it does
jsonasobj is a utility that wraps JSON data structures into Python objects, letting you access JSON fields using dot notation (e.g., `data.field`) instead of dictionary keys (e.g., `data['field']`). It supports loading JSON from files, URLs, or file objects, and includes methods to serialize objects back to JSON with optional filtering.
The package is in maintenance mode: the latest release is from 2021-02-08, and the maintainer has shifted active development to a successor project due to breaking changes that proved difficult to migrate gracefully. While the current version remains stable and carries no known vulnerabilities, it receives no active updates.
Use it for:
- Convert JSON API responses into Python objects for cleaner, more readable code in data processing scripts.
- Load configuration files stored as JSON and access settings using attribute syntax instead of nested dictionary lookups.
- Prototype rapid data transformations where object-style access is more intuitive than dictionary operations.
- Serialize Python objects back to JSON with custom filtering logic for specific output requirements.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Converts JSON data into Python objects with attribute-style access, allowing you to read and manipulate JSON as if it were native Python classes.
Yes, if you are working with an existing codebase already using jsonasobj 1.3.1 or need simple JSON-to-object conversion without active maintenance. No, if you are starting a new project—the maintainer has moved development elsewhere, and this version will not receive updates. Check the successor project for new work.
Install
jsonasobj on PyPI
pip
pip install jsonasobjuv
uv add jsonasobjpoetry
poetry add jsonasobjInstalling jsonasobj
Before you install
Low friction to install. The package is aging—last release was in 2021 with no updates since—but remains marked stable and carries no known vulnerabilities. The maintainer has moved development to a successor project, so this version receives no active maintenance.
License in practice
Licensed under Apache 2.0, a permissive license that allows commercial and private use with minimal restrictions. You may use, modify, and distribute the package freely as long as you include a copy of the license.
Quickstart
pip install jsonasobj
from jsonasobj import load
# Load JSON from a file, URL, or file object
data = load('data.json')
print(data.some_field) # Access JSON fields as attributes
Verify before relying
- Whether the package works reliably with Python versions beyond 3.9 (classifiers list 3.6–3.9 but requires_python is empty)
- Whether the breaking changes in the 2.0.x branch are documented and if migration guidance exists
- Current status of the successor project and whether users should migrate to it for new work
Package facts
| License | Apache 2.0 (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | aging — 2,013 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 266,758/month — #8,302 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: jsonasobj-1.3.1-py3-none-any.whl
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
jsonasobj2Converts JSON data into Python objects with…
permissive · top 15,000 on PyPI
ShExJSGShExJSG provides a Python object model for the…
permissive · top 15,000 on PyPI
PyJSGGenerates Python 3 classes from JSON Schema…
permissive · top 15,000 on PyPI
parverparver parses and manipulates PEP 440 version…
permissive · top 5,000 on PyPI
easydictEasyDict wraps Python dictionaries to allow…
copyleft · top 5,000 on PyPI
python-boxBox wraps Python dictionaries to enable…
permissive · top 5,000 on PyPI
Flask-JSONFlask-JSON adds convenient JSON response…
permissive · top 15,000 on PyPI
importnbimportnb lets you import Jupyter notebooks as…
permissive · top 15,000 on PyPI
munchMunch provides a dictionary subclass that…
permissive · top 5,000 on PyPI
pathlib2Backport of Python's standard pathlib module…
permissive · top 5,000 on PyPI