Created
August 6, 2018 16:24
-
-
Save bardware/0e06e4471d4fae06cef081dda95cef06 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<!--- | |
http://teratech.com/is-lucee-cfml-now-better-than-adobe-coldfusion/ | |
---> | |
<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>' ); | |
writeOutput( serializeJSON( data ) ); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment