jazzband / jsonmodels

jsonmodels is library to make it easier for you to deal with structures that are converted to, or read from JSON.
http://jsonmodels.readthedocs.org/en/latest/
BSD 3-Clause "New" or "Revised" License
334 stars 51 forks source link

Schemaless fields #143

Open beregond opened 3 years ago

beregond commented 3 years ago

We need schemaless fields that can handle non-strict json data - lets imagine we are trying to handle 3rd party api that was not designed with jsonmodels first - such api may behave in a way that cannot be handled with models - for example json object with variant names (like list of tags) or list that can contain both scalars and objects (and lists and anything you can write with json).

Although we should keep the mindset 'jsonmodels first can make you data sane' - we should be able to handle more generic cases.

There are some questions for this: