Created
September 1, 2017 14:43
-
-
Save bkeating/d0d58fd51f125f975cc21b640087f930 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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" }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You do it by serializing further up. In my case, in django rest framework. See: https://stackoverflow.com/a/28200902/352452