dataclasses-json icon indicating copy to clipboard operation
dataclasses-json copied to clipboard

Easily serialize Data Classes to and from JSON

Results 166 dataclasses-json issues
Sort by recently updated
recently updated
newest added

### Description I would like to kick off some work on new API by implementing the following: - Introduce default v1 SerDe behaviour via `JsonSerializer[MyType]` or `JsonSerializer(MyType)` which should support:...

enhancement
api/v1

### Description After https://github.com/lidatong/dataclasses-json/issues/453 we should have support for basic json without collections/nested json and readable runtime failures for NYI stuff that is working in v0. Solving this issue should...

enhancement
api/v1

### Description V1 should support out of box code like this: ``` from dataclasses_json.api import from_json, to_json @dataclass class A: who_am_i = "A" a: int @dataclass class B(A): who_am_i =...

enhancement
api/v1

### Description One the huge advantages of v0 is implicit serializer injection via annotation or a subclass. Since we are changing to init/config file approach with `.register(...)` in v1, we...

enhancement
api/v1

```python from dataclasses import dataclass, field from ipaddress import IPv4Address as IPv4 from typing import Optional from dataclasses_json import dataclass_json, config @dataclass_json @dataclass class Whatever: ip: Optional[IPv4] = field(default=None, metadata=config(encoder=str,...

triage
api/v0

Case 1: The upstream has passed a value that may be empty. This empty value has no business meaning. It is hoped that the dataclass_json layer can be completed instead...

triage
requires-follow-up
api/v0

I am using `dataclasses-json` in my project. I am using the following sample code: ```py from dataclasses import dataclass from dataclasses_json import dataclass_json @dataclass_json @dataclass(frozen=True) class Minion: name: str minion...

bug
api/v0

The `dataclasses-json` tool is very impressive but currently I'm having difficulty adopting it for a real world use case at work. The json data I need to encode/decode (serialize/deserialize) are...

Hi @lidatong - This PR is to help with implementation issues I've run into by reporting some errors that will help users quickly find the cause of a problem. Let...

requires-follow-up