Skip to content

Instantly share code, notes, and snippets.

Created December 22, 2016 13:28
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 anonymous/4ae6bfdddc3d620244337692ce462703 to your computer and use it in GitHub Desktop.
Save anonymous/4ae6bfdddc3d620244337692ce462703 to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
jsonstr = '{"nrtype": "Phone 1", "number": "12345678"},{"nrtype": "E-Mail 1", "number": "some@email.com"}';
jsonhack = '[' & jsonstr & ']';
datarecord = DeserializeJSON(jsonhack);
writeDump(datarecord);
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment