|
|
toJSON
Project Home • Blog • Known Issues • Contact Project
Author: Doug Laakso (All RIAForge projects by this author) Description:
Converts Arrays, Lists, Queries and Structures to JSON.
Stolen from Raymond Camden. This is a very similar to Ray's toXML.cfc. http://ray.camdenfamily.com/projects/toxml/ If you are going to steal, steal from the best. Example If q is a query object, this will return an JSON string wrapped in a {fruits:[{name:value}]} tag with each row being an element of an array: <cfset jsonQuery = toJSON.queryToJSON(q, "fruits") /> Issue Tracker: There are no issues for this project. To enter issues for this (or any other) project, you must be logged in. |
Adobe and the Adobe product names are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries.