If you are working with Restful API’s and you must need to send a JSON input response via web project, especially for Node projects. This post helps you to create a JSON input string using JavaScript. It's very useful, converting Data objects to JSON data format implemented with $.toJSON Jquery plugin. Read more »
via 9lessons Programming Blog:
JSON Input String using JavaScript.

For more info: JSON Input String using JavaScript.