Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// How do I go from this...
"{u'type': u'object', u'properties': {u'first_floor': u'open'}}"
// to a json object...
{"type": "object", "properties": { "first_floor": "open" }}

This comment has been minimized.

Copy link
Owner Author

bkeating commented Sep 1, 2017

You do it by serializing further up. In my case, in django rest framework. See:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.