{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/8"}],"enrichment":{"capability":"Provides a JSON encoder that handles datetime, date, time, and Decimal objects in addition to standard JSON-serializable types, aiming for ECMA-262 and ECMA-404 specification compliance.","skillfed_tags":["json-serialization","legacy-python"],"use_cases":["Serialize Python date and time objects to JSON strings when the standard library encoder rejects them.","Handle Decimal values in JSON output without converting to float, preserving precision in financial or scientific data.","Encode mixed data structures containing datetime and numeric types in legacy systems still on older Python versions."],"what_it_does":"StandardJSON is a JSON encoder that extends Python's standard `json.JSONEncoder` to serialize additional types: `datetime.datetime`, `datetime.date`, `datetime.time`, and `decimal.Decimal` objects. It wraps the stdlib encoder and can be used as a drop-in replacement via the `cls` parameter to `json.dumps()`. The package has no runtime dependencies and installs cleanly as a pure-Python wheel.\n\nThe encoder aims for compliance with ECMA-262 and ECMA-404 specifications. However, the project is abandoned\u2014it was released in May 2014 at Alpha status and has not been updated since. The codebase was last touched in December 2022 but no new releases followed. It was only tested on Python 2.6, 2.7, and 3.3; compatibility with modern Python versions remains unverified.","worth_installing":"No. The package is abandoned and untested on modern Python versions. The standard library's `json` module has evolved, and modern alternatives (or custom encoder functions) are more maintainable. Use only if you are locked into Python 2.6\u20133.3 and have no other option; otherwise, implement a custom encoder or use a maintained serialization library."},"id":"standardjson","links":{"html":"https://skillfed.io/packages/standardjson","md":"https://skillfed.io/packages/standardjson.md","pypi":"https://pypi.org/project/standardjson/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2014-05-21","license_spdx":null,"license_treatment":"permissive","name":"standardjson","python_support":"unspecified","summary":"JSON encoder that aims to be fully compliant with specifications ECMA-262 and ECMA-404."},"popularity":{"monthly_downloads":185700,"position":10003,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.3.1"}
