The dataclasses are not serializable to json due to them not being deserializable (since types are missing). However, we should be able to store the dataclass as a dictionary, and the type in the JSON in a way that the dataclass can be dynamically reconstructed. Something similar is already done with the date types that can be passed
The dataclasses are not serializable to json due to them not being deserializable (since types are missing). However, we should be able to store the dataclass as a dictionary, and the type in the JSON in a way that the dataclass can be dynamically reconstructed. Something similar is already done with the date types that can be passed