programming coldfusion

Coldfusion Javascript Friendly Query to Array function.

Ben Nadel posted a simple query to Array function that made an update to and thought I would share.
Original: Converting a Query to an Array

component {
/*****************************************************************************
 * Description: 
 *		Convert a coldfusion query to a JSON array of structures.		
 *		Adapted from: http://www.bennadel.com/blog/124-Ask-Ben-Converting-a-Query-to-an-Array.htm
 * Input: 
 * 	Query
 *
 * Output:
 * 	Array
 */
Syndicate content