Namespace Jelo.JSON

Provides JavaScript Object Notation services.
Defined in: Jelo.JSON.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
Jelo.JSON.decode(str)
<static>  
Jelo.JSON.encode(obj)
<static>  
Jelo.JSON.validate(str)
Namespace Detail
Jelo.JSON
Method Detail
<static> {Object} Jelo.JSON.decode(str)
Parameters:
{String} str
A valid JSON-encoded String.
Returns:
{Object} The JavaScript object represented by the supplied String.

<static> {String} Jelo.JSON.encode(obj)
Parameters:
{Mixed} obj
Any value (String, Object, Array, Number, etc.)
Returns:
{String} The JSON representation of the supplied value.

<static> {Boolean} Jelo.JSON.validate(str)
Parameters:
{String} str
A JSON-encoded string.
Returns:
{Boolean} True if the supplied string is valid JSON, false if it is unable to be parsed.


recent changes — (see all)
random jelo shots — (see all)