jQuery-JSON

jQuery JSON is a jQuery plugin that takes a JavaScript object and returns the resulting JSON string.

jQuery JSON

jQuery JSON is a jQuery plugin that takes a JavaScript object and returns the resulting JSON string.

Usage

var json_object = {"foo": "bar"};
var json_string = jQuery.stringifyJSON(json_object);
var json_object_2 = jQuery.parseJSON(json_string);

License

This plugin is licensed under the MIT license.

json2.js is Public Domain.

Credits

Mattia at Matriz.it (info@matriz.it)

json2.js by Douglas Crockford