skillfed

jsonasobj2

JSON as python objects - version 2

jsonasobj2 v1.0.4 302.0K downloads/30d#7,827 on PyPI5
Permissive license CC0 1.0 Universal Abandoned released

What it is and what it does

jsonasobj2 is a lightweight utility that wraps JSON data so you can access fields using Python's dot notation (obj.key) instead of dictionary syntax (obj['key']). It was designed to make JSON manipulation feel more natural in Python code by converting parsed JSON into objects with attribute-style access.

The package is stable but abandoned—it has not been updated since June 2021 and receives no active maintenance. It depends on hbreader for its core functionality. With no known vulnerabilities and permissive CC0 licensing, it poses no legal or security barriers to use, but you should be aware that any bugs or compatibility issues with newer Python versions will not be fixed by the original maintainer.

Use it for:

  • Convert API responses from JSON format into Python objects for cleaner, more readable code.
  • Simplify data access in scripts that work with JSON configuration files or data exports.
  • Prototype quick utilities where dot notation feels more natural than dictionary key lookups.
  • Migrate legacy code that expects object attributes over dictionary-style access patterns.

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 work with JSON as dot-notation properties instead of dictionary keys.

Yes, if you need dot-notation JSON access and can tolerate an unmaintained package. The low install friction, permissive license, and lack of known vulnerabilities make it safe to use in stable, non-critical contexts. However, do not rely on it for production systems requiring active maintenance or Python version updates beyond 3.9.

Install

jsonasobj2 on PyPI

pip

pip install jsonasobj2

uv

uv add jsonasobj2

poetry

poetry add jsonasobj2

Installing jsonasobj2

Before you install

Low install friction with a single runtime dependency (hbreader). However, the package is abandoned—last commit was 2022-03-22, over 1899 days ago. No active maintenance or security updates should be expected.

License in practice

Licensed under CC0 1.0 Universal (public domain), which places no restrictions on use, modification, or redistribution. You may use this freely in any context.

Quickstart

pip install jsonasobj2

import jsonasobj2
obj = jsonasobj2.JsonAsObj2(json_string_or_dict)
value = obj.some_key  # access via dot notation

Requires Python 3.6 or later; depends on hbreader at runtime.

Verify before relying

  • What hbreader provides and whether it introduces additional dependencies or system requirements.
  • Whether the package's single runtime dependency (hbreader) is itself maintained or has known issues.

Package facts

License CC0 1.0 Universal (permissive)
Python support supports the current Python release (>=3.6)
Install friction low — pure-Python wheel
Runtime dependencies 1 — hbreader
Maintenance abandoned — 1,899 days since the last release
Last repo commit
First released
Downloads 302,027/month — #7,827 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: jsonasobj2-1.0.4-py3-none-any.whl

Keywords: json

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 :: Software Development :: Libraries

Tags

json to python objectsjson attribute accessjson dot notationparse json as objectsjson object wrapper
json-parsingabandoned-but-stable

More Libraries packages