How can I parse a dict/json object using pydantic when the keys are also data?
Using pydantic in Python how can I parse data where I want the key of a mapping to be placed into one attribute and the value of a mapping placed into anothe rattribute? For example, imagine my data is represented…