Skip to content

Instantly share code, notes, and snippets.

Created September 14, 2017 21:26
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/0be63fbe4668da489454b7e4a9a65609 to your computer and use it in GitHub Desktop.
Save anonymous/0be63fbe4668da489454b7e4a9a65609 to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
data = {
boolean : true,
stringTrue : 'true',
stringYes : 'yes',
number : 5,
stringFive : '5'
};
data.each( function( key, value ) {
writeOutput( key & ' - ' & value.getClass().getName() & '<br>' );
} );
writeOutput( '<br>' );
writeDump( serializeJSON( data ) );
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment