jsonable
An abstract class that supports jsonserialization/deserialization.
Decision gist · record as of 2026-08-14
Yes, if you need a minimal JSON serialization layer for simple, self-contained objects and are comfortable with dormant maintenance. No, if you require active support, modern Python version guarantees, or complex validation—use dataclasses, pydantic, or marshmallow instead. The package works but has received no updates since 2015 and should be treated as legacy code.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with no runtime dependencies.
- Maintenance is dormant—last release was 2015-10-01 and no commits since 2024-07-31, so expect no active support or updates for modern Python versions.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.
last release 2015-10-01 (3970 days) · last repo commit 2024-07-31 · 2 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 247,177 downloads/mo, #8,699 on PyPI
Alternatives
Verify before relying
pip install jsonable
import jsonable
class Fruit(jsonable.Type):
__slots__ = ('type', 'weight')
def initialize(self, type, weight):
self.type = str(type)
self.weight = float(weight)
fruit = Fruit('apple', 10.3)
json_doc = fruit.to_json()
fruit_restored = Fruit(json_doc)- Whether the package works reliably with Python 3.10+ (no explicit version support declared; last release predates modern Python versions by years).
- Whether the abstract base class approach remains practical compared to modern alternatives like dataclasses or pydantic.
What it is and what it does
jsonable is a lightweight library that provides an abstract base class (JSONable/Type) to make Python objects trivially serializable to and deserializable from JSON. You define a class inheriting from jsonable.Type, implement an initialize method to set attributes, and gain to_json() and from_json() methods automatically. The library handles the round-trip: objects convert to plain dicts and back without manual encoder/decoder logic.
The package has no runtime dependencies and installs cleanly. However, it is dormant—the latest release was 2015-10-01, and there have been no updates since. This means it was designed for older Python versions and has received no maintenance for modern language features or security patches. It remains functional for simple use cases but is not actively developed.
Use it for
- Serialize custom Python objects to JSON for API responses or file storage without writing custom encoder logic.
- Deserialize JSON data back into typed Python objects with automatic validation through the initialize method.
- Define nested object hierarchies (e.g., a Pie containing Fruits) that convert to and from JSON structures automatically.
- Build lightweight data models for small projects that don't warrant a full ORM or schema validation library.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need a minimal JSON serialization layer for simple, self-contained objects and are comfortable with dormant maintenance.
No, if you require active support, modern Python version guarantees, or complex validation—use dataclasses, pydantic, or marshmallow instead. The package works but has received no updates since 2015 and should be treated as legacy code.
Install
jsonable on PyPI
Before you install
Low install friction with no runtime dependencies. Maintenance is dormant—last release was 2015-10-01 and no commits since 2024-07-31, so expect no active support or updates for modern Python versions.
License in practice
MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.
Quickstart
pip install jsonable
import jsonable
class Fruit(jsonable.Type):
__slots__ = ('type', 'weight')
def initialize(self, type, weight):
self.type = str(type)
self.weight = float(weight)
fruit = Fruit('apple', 10.3)
json_doc = fruit.to_json()
fruit_restored = Fruit(json_doc)
Verify before relying
- Whether the package works reliably with Python 3.10+ (no explicit version support declared; last release predates modern Python versions by years).
- Whether the abstract base class approach remains practical compared to modern alternatives like dataclasses or pydantic.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Dormant 3,970 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 247,177 / month, #8,699 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaEnvironment :: Other EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Topic :: Software Development :: Libraries :: Python Modules |
Evidence: jsonable-0.3.1-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “json deserialization objects”
- jsonableProvides an abstract base class for defining Python objects that…
- jsonobjectjsonobject provides a Python library for mapping deeply nested JSON…
- marshmallowMarshmallow converts complex Python objects to and from native Python…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also json-fix · json-flatten · yamlable · json-five · djangorestframework-dataclasses · json-logic · jsons · apischema · forbiddenfruit · json_logic_qubit