JavaScript

A5.ujson Namespace

Description

The namespace for utility methods for manipulation of objects or arrays before or after being converted to JSON.

Methods

compress Method

Compress an object for storage purposes.

expand Method

Expand a previously compressed object using a compressed object and map. See A5.u.json.compress.

postparse Method

Convert all parsed data types (such as date and function) in passed in object back to the original type. See A5.u.json.preparse.

preparse Method

Convert all data types (such as date and function) in passed in object that cannot be converted to a JSON string into special objects that can be converted back into there original type by using the A5.u.json.postparse.