genomoncology / related

Nested Object Models in Python with dictionary, YAML, and JSON transformation support
MIT License
198 stars 15 forks source link

How can I deserialize the json data with multiple schema living in the same field? #36

Open hulucc opened 5 years ago

hulucc commented 5 years ago

Something like: {"code": 0, "result": {"type": "a", "id": 1}} and {"code": 0, "result": {"type": "b", "name": "hulucc"}}