Skip to content

Instantly share code, notes, and snippets.

Created September 14, 2017 21:26
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