OpenLayers JavaScript Mapping Library |
OpenLayers. Format.JSONA parser to read/write JSON safely. Create a new instance with the OpenLayers.Format.JSON constructor. Inherits fromSummary
read
Deserialize a json string. Parameters
Returns{Object} An object, array, string, or number . write
Serialize an object into a JSON string. Parameters
Returns{String} The JSON string representation of the input value. |
Deserialize a json string.
read: function( json, filter )
Serialize an object into a JSON string.
write: function( value, pretty )