credmark.dto.encoder

Functions

json_dump

Dump an o that may contain embedded DTOs to json

json_dumps

Dump an obj that may contain embedded DTOs to json string

Classes

PydanticJSONEncoder

A JSON encoder that will handle DTO types embedded in other data structures such as dicts or lists.