Skip to content

Instantly share code, notes, and snippets.

@bardware
Created August 6, 2018 16:24
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 bardware/0e06e4471d4fae06cef081dda95cef06 to your computer and use it in GitHub Desktop.
Save bardware/0e06e4471d4fae06cef081dda95cef06 to your computer and use it in GitHub Desktop.
<!---
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