Paul, you are right you can't serialize a component or object to JSon.

I think Gavin when you dump it out to the browser it tends to look like an
Array, it is an Array of objects that can also have many hidden variables
and other things that will not be viewable with a cfdump.

Your best option is to turn it to a query, or run a ORMSession query to
return the data you are looking for.



-----Original Message-----
From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf
Of Paul Kukiel
Sent: Wednesday, 15 July 2009 10:56 AM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: JSON


I'm pretty sure you can't serialize a component ( ORM or  
otherwise ).  You could write a toStruct method on the component and  
serialize the struct to send that as JSOn.

Paul


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to