stringify

Converts a JavaScript object to JSON. Uses JSON.stringify in browsers that support it.

Parameters

value Object

The value to convert to a JSON string.

Returns

String The JSON representation of the value.

Example

<script>
var json = kendo.stringify({ foo: "bar" });
console.log(json); // displays {"foo":"bar"}
</script>
In this article
Not finding the help you need? Improve this article