{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/11"}],"enrichment":{"capability":"Provides JSON serialization with singledispatch-based type handlers instead of JSONEncoder subclassing, with built-in support for time, date, datetime, UUID, and Decimal types.","skillfed_tags":["json-serialization","abandoned"],"use_cases":["Serialize datetime, date, time, UUID, and Decimal objects to JSON without writing custom encoder classes.","Register custom serializers for domain-specific types using a decorator pattern instead of subclassing JSONEncoder.","Switch between json, simplejson, or ujson implementations globally or per-call without changing serialization logic.","Prevent floating-point precision loss by parsing JSON numbers as Decimal objects.","Avoid repeating cls=MyEncoder in every json.dumps() call across a codebase."],"what_it_does":"json-encoder is a JSON serialization library that uses Python's singledispatch pattern to register type-specific serializers instead of requiring JSONEncoder subclassing. It eliminates the need to pass a custom encoder class to every json.dumps() call and provides built-in handlers for common types like datetime, UUID, and Decimal. The package is not tied to a specific JSON implementation\u2014it can work with the standard library json module, simplejson, ujson, or others.\n\nThe library also converts JSON float numbers to Decimal objects during parsing to avoid floating-point precision issues. Developers can register custom serializers for their own types using a simple decorator pattern. However, the package has been abandoned since 2016-09-16 and receives no maintenance, making it a legacy tool that may not work reliably with current Python versions or modern JSON libraries.","worth_installing":"No. The package is abandoned (last release 2016-09-16) with no maintenance signal, an unclear license, and compatibility only documented through Python 3.5. Modern Python versions and current JSON libraries may not work with it. For new projects, use a maintained alternative or the standard library's JSONEncoder with custom handlers. For legacy codebases already using it, consider migrating."},"id":"json-encoder","links":{"html":"https://skillfed.io/packages/json-encoder","md":"https://skillfed.io/packages/json-encoder.md","pypi":"https://pypi.org/project/json-encoder/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2016-09-16","license_spdx":null,"license_treatment":"unclear","name":"json-encoder","python_support":"unspecified","summary":"json encoder uses singledispatch pattern instead of JSONEncoder class overwrites"},"popularity":{"monthly_downloads":82638,"position":14149,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.4"}
