Created
September 14, 2017 21:26
-
-
Save anonymous/33a8948c5b2aa43f673c31545d2fd886 to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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