Skip to content

Instantly share code, notes, and snippets.

@coolgarifTech
Created May 29, 2013 15:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coolgarifTech/5671010 to your computer and use it in GitHub Desktop.
Save coolgarifTech/5671010 to your computer and use it in GitHub Desktop.
Creating the final JSON object as part of the request response in Flask
result = {
'nodes' : nodes,
'rels' : rels}
result = json.dumps(result)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment