{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/3"},{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities"},{"label":"Interface Engine/Protocol Translator","url":"https://skillfed.io/packages/category/scientific-engineering-interface-engine-protocol-translator"},{"label":"Object Brokering","url":"https://skillfed.io/packages/category/software-development-object-brokering"}],"enrichment":{"capability":"Converts arbitrary Python objects to JSON strings and back, extending the standard json module with support for custom classes, numpy arrays, and nested structures through JSONEncoder and JSONDecoder subclasses.","skillfed_tags":["serialization","json-encoding"],"use_cases":["Serialize custom Python classes to JSON for storage or transmission in web applications.","Round-trip complex nested data structures (objects containing other objects) to and from JSON.","Store scientific or numerical data with custom metadata by combining numpy arrays with JSONObject subclasses.","Migrate serialized objects when class module paths change using the substitute_modules parameter.","Extend JSON encoding for domain-specific types without modifying the standard json module."],"what_it_does":"jsonconversion extends Python's built-in json module to serialize and deserialize arbitrary Python objects, including custom classes, builtins (int, float, str, list, set, dict, tuple), type objects, and numpy arrays. It works by storing class metadata in the JSON output so objects can be reconstructed on deserialization.\n\nTo use it with your own classes, you inherit from JSONObject and implement to_dict and from_dict methods that define which attributes to serialize. The package handles the rest\u2014encoding to JSON strings via JSONObjectEncoder and decoding back via JSONObjectDecoder. It's designed for scenarios where you need to persist complex Python object hierarchies as JSON, such as in web frameworks (Django, Flask) or scientific workflows.","worth_installing":"Yes, if you need to serialize custom Python objects to JSON beyond what the standard json module supports. The package is stable (Production/Stable status), has no known vulnerabilities, and carries a permissive license. Install friction is low. However, maintenance is aging (last release 275 days ago), so verify that its feature set meets your needs before adopting it for new projects."},"id":"jsonconversion","links":{"html":"https://skillfed.io/packages/jsonconversion","md":"https://skillfed.io/packages/jsonconversion.md","pypi":"https://pypi.org/project/jsonconversion/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-11-12","license_spdx":null,"license_treatment":"permissive","name":"jsonconversion","python_support":"supports_current","summary":"This python module helps converting arbitrary Python objects into JSON strings and back."},"popularity":{"monthly_downloads":14088461,"position":1247,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.2.1"}
