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

Dictionary field #145

Open beregond opened 3 years ago

beregond commented 3 years ago

Dictionary (schemaless) field is first most needed field for jsonmodels:

And there are good reasons to having one - for example we could have a list of tags like {"tag1": "value1", "tag2": 123, ..., "tagn": None}.

(This is part of bigger problem -> https://github.com/jazzband/jsonmodels/issues/143)

The question is how to implement it - we can choose either of those two pull requests as base, or came up with something different.

Things to consider: