Skip to content

Instantly share code, notes, and snippets.

@rlemon
Created February 3, 2012 19:35
Show Gist options
  • Save rlemon/1731934 to your computer and use it in GitHub Desktop.
Save rlemon/1731934 to your computer and use it in GitHub Desktop.
ideas for json_storage
json_storage
hash
add [generates unique hash, creates storage area mapped to hash, returns hash]
remove [removes hash from server, as well as JSON objects]
<hash>
get [retreives JSON object and returns it to the callback]
callback
set [stores the values in the format below]
key=value [json=JSON]
callback [callback with message]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment