Skip to content
Wolfy87 edited this page Nov 23, 2010 · 2 revisions

$.content(string method, anything data)

Parameters

method - What you want to do with the data, either encode or decode.

data - The data you wish to decode or encode.

Return values

The encoded or decoded data.

Examples

Encode some data and display it

alert($.json('encode', {name: 'Oliver Caldwell', age: 16}));