typing-json
Type-aware Python JSON serialization and validation.
Decision gist · record as of 2026-08-14
No. The package is abandoned (last release 2067 days ago) with no active maintenance. While it has low install friction and permissive licensing, the lack of updates means unfixed bugs, no support for modern Python features, and no security patches. For new projects, use a maintained alternative like pydantic or msgspec; for existing code already relying on typing_json, consider migrating.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.7 or later; typing-extensions must be installed as a runtime dependency.
- Low install friction with a single lightweight dependency (typing-extensions).
- However, the package is abandoned as of 2067 days since last release; no active maintenance or security updates should be expected.
License · maintenance · safety
permissive license (permissive) — Licensed under MIT (permissive), so you can use it freely in commercial and open-source projects without restriction, though you must include the license notice.
last release 2020-12-16 (2067 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 109,955 downloads/mo, #12,490 on PyPI
Alternatives
Verify before relying
from typing import Dict
from typing_json import loads
data = loads('{"key": "value"}', Dict[str, str])
print(data)- Whether the package works correctly with Python versions beyond 3.7 despite classifier listing only 3.7.
- Whether abandoned status means known bugs or incompatibilities with modern Python versions remain unfixed.
- Real-world performance characteristics when handling large or deeply nested typed structures.
What it is and what it does
typing_json wraps Python's standard json module to add type awareness during serialization and deserialization. Instead of returning plain dictionaries and lists, it validates decoded JSON against a provided type annotation and raises TypeError if the data doesn't match. It supports a broad range of types—JSON primitives, Decimal, typed collections (List, Dict, Set, Tuple, etc.), TypedDict, NamedTuple, Literal, Union, Optional, and enums—making it useful when you want to deserialize JSON into statically typed Python objects with runtime guarantees.
The package provides three pairs of functions mirroring the standard library: dump/load for file I/O, dumps/loads for strings, and to_json_obj/from_json_obj for in-memory conversion. It also includes is_instance, which extends isinstance to handle all supported types. The main use case is ensuring that JSON data loaded into a statically typed application (e.g., one checked with mypy) conforms to its declared types at runtime.
Use it for
- Deserialize JSON API responses into typed dataclasses or TypedDict with automatic validation.
- Load configuration files as typed structures and catch schema mismatches at runtime.
- Serialize complex Python objects with nested typed collections back to JSON reliably.
- Validate JSON data against type specifications in applications using static type checkers.
- Convert JSON with Decimal values to typed structures while controlling int/float casting.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last release 2067 days ago) with no active maintenance. While it has low install friction and permissive licensing, the lack of updates means unfixed bugs, no support for modern Python features, and no security patches. For new projects, use a maintained alternative like pydantic or msgspec; for existing code already relying on typing_json, consider migrating.
Install
typing-json on PyPI
Before you install
Low install friction with a single lightweight dependency (typing-extensions). However, the package is abandoned as of 2067 days since last release; no active maintenance or security updates should be expected.
Requires Python 3.7 or later; typing-extensions must be installed as a runtime dependency.
License in practice
Licensed under MIT (permissive), so you can use it freely in commercial and open-source projects without restriction, though you must include the license notice.
Quickstart
from typing import Dict
from typing_json import loads
data = loads('{"key": "value"}', Dict[str, str])
print(data)
Verify before relying
- Whether the package works correctly with Python versions beyond 3.7 despite classifier listing only 3.7.
- Whether abandoned status means known bugs or incompatibilities with modern Python versions remain unfixed.
- Real-world performance characteristics when handling large or deeply nested typed structures.
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagetyping-extensions |
| Maintenance | Abandoned 2,067 days since the last release |
| First released | |
| Downloads | 109,955 / month, #12,490 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3.7Typing :: Typed |
Evidence: typing_json-0.1.3-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 with type validation”
- typing-jsonProvides type-aware JSON serialization and deserialization with…
- typed-json-dataclassAdds JSON serialization and type validation to Python dataclasses,…
- msgspecmsgspec encodes and decodes JSON, MessagePack, YAML, and TOML with…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also jsonalias · numerary · typedload · undictify · dynamodb-json · databind.json · amazon-ion · type-enforced · json-tricks · databind.core