See: http://www.json.org/js.html
The JSON binder moves in the opposite direction, converting JavaScript data structures to JSON text. JSON does not support circular data structures, so be careful not to cast circular structures to string JSON.
var myJSONText = JSON.stringify(myObject, replacer);
stringify , toJSON, . JSON.
. , JSON.
replacer. toJSON ( ) . , , . .
, $.toJSON(), "", " JSON" $