Classes
- API Home
- _global_
- Array
- Jelo
- Jelo.Ajax
- Jelo.Anim
- Jelo.Core
- Jelo.CSS
- Jelo.Dom
- Jelo.DragDrop
- Jelo.Env
- Jelo.Event
- Jelo.JSON
- Jelo.Widget
Namespace Jelo.JSON
Provides JavaScript Object Notation services.
Defined in: Jelo.JSON.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
| Method Attributes | Method Name and Description |
|---|---|
| <static> |
Jelo.JSON.decode(str)
|
| <static> |
Jelo.JSON.encode(obj)
|
| <static> |
Jelo.JSON.validate(str)
|
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)
-
- Sep 14, 2010 — Simplified DragDrop.
- Jul 19, 2010 — Fixed typo preventing reliably aborting pending Ajax requests.
- Jun 17, 2010 — Fixed a conflict preventing Easing.SWINGOUT and Easing.SWINGBOTH from running simultaneously.
- Apr 22, 2010 — Added Array support to CSS.toggleClass.
- random jelo shots — (see all)
