Skip to content

Instantly share code, notes, and snippets.

@coolgarifTech
Last active December 17, 2015 20:58
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/5670920 to your computer and use it in GitHub Desktop.
Save coolgarifTech/5670920 to your computer and use it in GitHub Desktop.
An important line in the script that calls the createNodeJSON function and then appends that the nodeJSON list that is being prepared
nodeJSON.append(createNodeJSON(name, uid, description))
def createNodeJSON(name, uid, description):
JSONObject = {
'name': name,
'id' : uid,
'description' : description
}
return JSONObject
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment