Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<!---
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