After I sent that out I realized that it in this instance a roll your own
would be easy for this application.  I was distracted because I am now hung
up on a method of uploading large (20-30MB) files up to the server within a
form while maintaining session state and showing a progress bar.  Flash does
not seem to be a viable option due to the session issue and they don't want
java....

If it's not one thing it's another.


Dennis Powers
UXB Internet - A website Design and Hosting Company
P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844
W: http://www.uxbinternet.com
W: http://www.ctbusinesslist.com


-----Original Message-----
From: Raymond Camden [mailto:[email protected]] 
Sent: Friday, February 15, 2013 9:03 PM
To: cf-talk
Subject: Re: Looking for ColdFusion 5 code/Lib


If you KNOW it will always be an array of simple values, you could write it
pretty quickly.

Assuming data is an array of numbers..

<cfset l = arrayToList(Data)>
<cfset r = "[" + l + "]">

r would be your JSON array.



On Fri, Feb 15, 2013 at 6:34 PM, UXB <[email protected]> wrote:

>
> I have a project on a CF 5 server (yes I know) where I need to return 
> a JSON response of an array and was wondering if anyone had a Library 
> or tag that will do the serialization or if I have to roll my own.  I 
> checked the CFLib.org for one but the ones there are all for CF MX and 
> up.
>
>
> Dennis Powers
> UXB Internet - A website Design and Hosting Company P.O. Box 6028, 
> Wolcott, CT 06716 - T:203-879-2844
> W: http://www.uxbinternet.com
> W: http://www.ctbusinesslist.com
>
>
>
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354546
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to