JSONUtil Background
JSONUtil Icon

The JSONUtil project currently consists of the JSONUtil component.

25
Downloads
-
0 Ratings
All Versions
25
Total Downloads
0
Downloads Last Week
Current Version
25
Total Downloads
0
Downloads Last Week
Downloads Last 10 Weeks
All Versions
-
0 Ratings
5
4
3
2
1
Current Version
-
0 Ratings
5
4
3
2
1

JSONUtilOverview

Editor: The JSONUtil project has two goals. The first is to provide JSON serialization and deserialization methods for CFMX 7 and other CFML engines which are compatible with ColdFusion's Serialize/DeserializeJSON functions. The second is to provide better mapping Between CF/Java/SQL data types and JavaScript data types for JSON serialization on all CFML engines.

The JSONUtil project currently consists of the JSONUtil component. This component has two public methods, serializeJSON and deserializeJSON, which have method signatures Similar to ColdFuison's built in Serialize/DeserializeJSON functions. The JSONUtil deserializeJSON method takes the same parameters as DeserializeJSON, JSONVar and strictMapping, and should produce the same results as that function. The JSONUtil serializeJSON method takes the var and serializeQueryByColumns parameters, just as ColdFusion's built in SerializeJSON function, however this method also takes an optional third parameter, strictMapping. If the strictMapping parameter is not provided or set to false the serialize method should produce the same results as ColdFusion's built in SerializeJSON function. If the Boolean strictMapping parameter is set to true, then the serialize method attempts to convert the ColdFusion data to a JSON String using underlying Java/SQL data types as opposed to using ColdFusion's implicit type conversion conventions.

The code for the JSONUtil component is based on that of the json.cfc from the cfjson project, http://www.epiphantastic.com/cfjson. This project probably would not have happened were it not for CFJSON. Thank you to Jehiah Czebotar, Thomas Messier, and everyone who has contributed to the CFJSON project.

New

Fixed some bugs.

JSONUtilTech Specs

Version
1.1
Date
01.18.10
License
Free to try
Language
English
File Size
10KB
Developer
Category
SubCategory
Operating Systems
Windows ,Mac OS
System Requirements
No additional system requirements.

SelectedFor You

Zip CFC Icon
Artur Kordowski
A collection of functions that supports the Zip and GZip functionality.
JFreeChart Custom Tag Icon
Gary Gilbert
Expose the JFree Chart API for Coldfusion Developers in an easy to use.
Ultra HTTP Get Icon
Richard Pinedo
Basically downloads a file faster by requesting it in pieces and joining it.
Memcached Client Icon
Shayne Sweeney
memcached is a high-performance, distributed memory object caching system
Google Sitemap Generator Icon
Richard Pinedo
Google Sitemap Generator is a XML sitemap generator built in ColdFusion
Last.fm API Icon
Dominic Watson
his component wraps the entire Last.fm api (85 methods and counting) making call
PDFUtils Icon
Raymond Camden
ColdFusion 8 comes with some very nice new PDF features.