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.