$npx skillfedfor your agent

json-strong-typing

Type-safe data interchange for Python data classes

With conditionsPyPI MarkupReleased Jan 2026133.4K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — json_strong_typing-0.4.3-py3-none-any.whl
v0.4.3 · released 2026-01-29 · Python >=3.9 · 2 runtime deps: jsonschema, typing_extensions

Yes, if you work with dataclasses and JSON interchange. The package is stable (Production/Stable classifier), has no known vulnerabilities, and low install friction. The aging maintenance status (197 days since last release) is a minor concern but not disqualifying—the repository is active and the library is relatively mature. Install it if you need type-safe JSON serialization without framework lock-in.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later; dataclasses must use type annotations.
  • Low friction: pure Python wheel with only two lightweight runtime dependencies (jsonschema and typing_extensions).
  • Maintenance status is aging—last release was 197 days ago—but the repository remains active and unarchived.

License · maintenance · safety

MIT (permissive) — MIT license permits use in commercial and proprietary projects with minimal restrictions; attribution required.

last release 2026-01-29 (197 days) · last repo commit 2026-01-29 · 9 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 133,360 downloads/mo, #11,517 on PyPI

Verify before relying

from dataclasses import dataclass
from json_strong_typing.serialization import object_to_json, json_to_object

@dataclass
class Example:
    name: str
    value: int

obj = Example(name="test", value=1)
json_obj = object_to_json(obj)
restored = json_to_object(Example, json_obj)
  • Whether custom serialization/deserialization hooks are well-documented and easy to implement for non-standard types.
  • Performance characteristics when handling large or deeply nested dataclass hierarchies.
Same gist for agents: .md · .json

What it is and what it does

json-strong-typing bridges the gap between Python's type system and JSON interchange by providing bidirectional conversion between typed dataclasses and JSON. It handles complex types—UUIDs, decimals, datetimes, nested dataclasses, generics—without requiring you to inherit from a custom base class or modify your class definitions. The package also generates JSON schemas from Python types, which is useful for API documentation and validation.

The core use case is working with strongly-typed Python objects in contexts where JSON is the wire format: cloud functions receiving HTTP payloads, API endpoints validating input, configuration file parsing, or OpenAPI specification generation. It operates on plain dataclasses and named tuples without imposing a framework dependency, making it suitable for third-party classes you don't control.

Use it for

  • Serialize dataclass instances to JSON for HTTP APIs or message queues, then deserialize responses back to typed objects.
  • Generate JSON schemas from dataclass definitions for OpenAPI specifications or JSON schema validation.
  • Parse JSON configuration files into strongly-typed Python objects with automatic type coercion.
  • Validate incoming JSON payloads against Python dataclass types in cloud functions or web handlers.
  • Convert between Python objects and JSON in microservices that communicate via JSON messages.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you work with dataclasses and JSON interchange.

The package is stable (Production/Stable classifier), has no known vulnerabilities, and low install friction. The aging maintenance status (197 days since last release) is a minor concern but not disqualifying—the repository is active and the library is relatively mature. Install it if you need type-safe JSON serialization without framework lock-in.

Install

json-strong-typing on PyPI

Before you install

Low friction: pure Python wheel with only two lightweight runtime dependencies (jsonschema and typing_extensions). Maintenance status is aging—last release was 197 days ago—but the repository remains active and unarchived.

Requires Python 3.9 or later; dataclasses must use type annotations.

License in practice

MIT license permits use in commercial and proprietary projects with minimal restrictions; attribution required.

Quickstart

from dataclasses import dataclass
from json_strong_typing.serialization import object_to_json, json_to_object

@dataclass
class Example:
    name: str
    value: int

obj = Example(name="test", value=1)
json_obj = object_to_json(obj)
restored = json_to_object(Example, json_obj)

Verify before relying

  • Whether custom serialization/deserialization hooks are well-documented and easy to implement for non-standard types.
  • Performance characteristics when handling large or deeply nested dataclass hierarchies.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
jsonschematyping_extensions
MaintenanceAging 197 days since the last release
Last repo commit
First released
Downloads133,360 / month, #11,517 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: File Formats :: JSONTopic :: File Formats :: JSON :: JSON SchemaTopic :: Text Processing :: Markup :: reStructuredTextTyping :: Typed

Evidence: json_strong_typing-0.4.3-py3-none-any.whl

Tags

Capabilities
dataclass json serializationtype-safe json parsingjson schema generationpython dataclass to jsonstrongly typed json interchangejson validation with typesdataclass json deserialization
Topics
json-serializationtype-safetydataclass-tools
PyPI keywords
json-schemajson-parsingjson-serializationdocstring-documentationtype-inspection

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 › “strongly typed json interchange”

  • json-strong-typingSerializes Python dataclasses to JSON and deserializes JSON back to…
  • django-pydantic-fieldProvides type-safe Pydantic model schemas for Django JSONFields with…
  • PyJSGGenerates Python 3 classes from JSON Schema Grammar (JSG)…

Give your agent the search over MCP, or paste the wish link into any chat.

More Markup packages

PyYAML Worth it
PyPI · Python Modules · released Sep 2025

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.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
markdown-it-py Worth it
PyPI · Python Modules · released May 2026

A Python markdown parser that converts markdown to HTML following the CommonMark specification, with support for plugins and custom syntax rules.

Install it if you need reliable markdown-to-HTML conversion.

MITpure Python · 3.10+
613.8Mdownloads / mo
beautifulsoup4 Worth it
PyPI · Python Modules · released Jun 2026

Beautiful Soup parses HTML and XML documents into a navigable tree, providing Pythonic methods to search, iterate, and modify the parsed content.

Install it if you need to parse or extract data from markup documents.

MITpure Python · 3.7.0+
432.1Mdownloads / mo
et-xmlfile With conditions
PyPI · Markup · released Oct 2024

et_xmlfile writes large XML files with minimal memory overhead by serializing elements to disk as they are created, rather than holding the entire tree in memory.

Install it if incremental XML writing fits your use case; skip it if your XML documents are small or you already use lxml.

MITpure Python · 3.8+dormant
343.3Mdownloads / mo
tomlkit Worth it
PyPI · Markup · released Jul 2026

Parses and edits TOML files while preserving formatting, comments, and structure, then serializes them back with layout intact.

Install it if you're building tools that touch TOML files and user readability of the source matters.

MITpure Python · 3.9+
338.0Mdownloads / mo
docstring-parser Worth it
PyPI · Python Modules · released Apr 2026

Parses Python docstrings in ReST, Google, Numpydoc, and Epydoc formats, extracting structured information like descriptions, parameters, return types, and exceptions.

Install it if you need to programmatically read and extract structured data from Python docstrings.

MITpure Python · 3.8+
274.9Mdownloads / mo

See also databind.json · interchange · databind · databind.core · jsonalias · orjson · py-serializable · apischema · genson · warchant_dc_schema