Skip to content

Instantly share code, notes, and snippets.

@coolgarifTech
Last active December 17, 2015 20:58
Show Gist options
  • Select an option

  • Save coolgarifTech/5670920 to your computer and use it in GitHub Desktop.

Select an option

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