{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/8"}],"enrichment":{"capability":"jsonobject provides a Python library for mapping deeply nested JSON structures to well-typed Python objects with automatic serialization and deserialization between the two representations.","skillfed_tags":["json-serialization","schema-mapping","data-validation"],"use_cases":["Deserialize JSON API responses into typed Python objects with automatic datetime and decimal conversion.","Define a schema once and use it to validate and wrap incoming JSON from external services or databases.","Serialize complex Python objects with nested structures, dates, and custom types back to JSON for storage or transmission.","Build configuration or data models that enforce type safety and provide IDE autocomplete for deeply nested JSON structures.","Migrate from couchdbkit-based code to a simpler, standalone library with compatible API."],"what_it_does":"jsonobject is a Python library that bridges JSON and Python objects by letting you define typed schemas that automatically convert between JSON strings (or dicts) and native Python objects. You define a class inheriting from JsonObject with typed properties (StringProperty, DateTimeProperty, ListProperty, etc.), then use it to wrap raw JSON data or construct objects that serialize back to JSON with proper type coercion\u2014datetimes become ISO strings, decimals preserve precision, and nested objects compose naturally.\n\nThe library handles both construction styles: passing a dict of raw JSON data or using keyword arguments with Python-native types. It was originally inspired by couchdbkit's Document/DocumentSchema API and is used in production by CommCare HQ. The API is largely stable, though it is maintained at a slower cadence and targets Python 3.9 and later with no external runtime dependencies.","worth_installing":"Yes, if you need schema-based JSON-to-Python mapping with type safety and no external dependencies. The library is stable and permissively licensed. However, the aging maintenance status (last release 533 days ago) means you should verify compatibility with your Python version and use case before relying on it for new projects; consider alternatives if you need active development or advanced validation features."},"id":"jsonobject","links":{"html":"https://skillfed.io/packages/jsonobject","md":"https://skillfed.io/packages/jsonobject.md","pypi":"https://pypi.org/project/jsonobject/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-02-27","license_spdx":null,"license_treatment":"permissive","name":"jsonobject","python_support":"supports_current","summary":"A library for dealing with JSON as python objects"},"popularity":{"monthly_downloads":395117,"position":6984,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.3.1"}
