{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/6"}],"enrichment":{"capability":"Converts Python dataclasses to and from JSON with a decorator or mixin, supporting nested types, collections, datetime, UUID, and Decimal objects.","skillfed_tags":["serialization","json","dataclass"],"use_cases":["Serialize API request/response dataclasses to JSON for HTTP communication","Deserialize JSON payloads into typed dataclass instances with optional validation","Convert between Python snake_case field names and JSON camelCase conventions","Handle nested dataclass structures with automatic recursive encoding/decoding","Validate incoming JSON data against dataclass field types using schema validation"],"what_it_does":"This library adds JSON serialization and deserialization methods to Python dataclasses through a simple decorator or mixin. It handles the boilerplate of converting dataclass instances to JSON strings or dictionaries, and reconstructing dataclass instances from JSON or dict input. The library supports nested dataclasses, standard collection types, and special types like datetime, UUID, and Decimal.\n\nYou apply the @dataclass_json decorator above @dataclass (or inherit from DataClassJsonMixin), then call .to_json(), .to_dict(), .from_json(), or .from_dict() on your class or instances. It also provides schema-based validation through a .schema() method backed by marshmallow, and supports field-level and class-level configuration for naming conventions like camelCase-to-snake_case conversion.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, installs with low friction, and solves a common problem cleanly. The MIT license imposes no restrictions. Install it if you need straightforward JSON serialization for dataclasses; the two-dependency footprint and decorator-based API make it a lightweight choice."},"id":"dataclasses-json-speakeasy","links":{"html":"https://skillfed.io/packages/dataclasses-json-speakeasy","md":"https://skillfed.io/packages/dataclasses-json-speakeasy.md","pypi":"https://pypi.org/project/dataclasses-json-speakeasy/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-02-01","license_spdx":null,"license_treatment":"permissive","name":"dataclasses-json-speakeasy","python_support":"supports_current","summary":"Easily serialize dataclasses to and from JSON."},"popularity":{"monthly_downloads":880954,"position":4820,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.5.11"}
