skillfed

jsonasobj

JSON as python objects

jsonasobj v1.3.1 266.8K downloads/30d#8,302 on PyPI0
Permissive license Apache 2.0 AGING released

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 jsonasobj

uv

uv add jsonasobj

poetry

poetry add jsonasobj

Installing 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

Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentIntended Audience :: DevelopersLicense :: CC0 1.0 Universal (CC0 1.0) Public Domain DedicationOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: InternetTopic :: Software Development :: Libraries

Tags

json to python objectsjson attribute accessjson as object notationparse json into classesjson object wrapper
json-parsingdeprecated-successor-available

More Libraries packages