Skip to content

Instantly share code, notes, and snippets.

@ccurtin
Created January 15, 2020 23: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 ccurtin/0932cc62ae39494b264c39f21f02a017 to your computer and use it in GitHub Desktop.
Save ccurtin/0932cc62ae39494b264c39f21f02a017 to your computer and use it in GitHub Desktop.
Converts Blob Objects to JSON objects, creating accessible Object keys from Blob properties
BlobToJSONObject = (blob) => {
obj = {}
for (var prop in blob) {
obj[prop] = blob[prop]
}
return obj
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment