New to Kendo UI for jQueryStart a free 30-day trial

ToJSON

methods

Returns a JavaScript Array object which represents the contents of the ObservableArray.

<script>
var people = new kendo.data.ObservableArray([
    { name: "John Doe" },
    { name: "Jane Doe" }
]);
var json = people.toJSON();
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(JSON.stringify(json)); // outputs [{"name":"John Doe"},{"name":"Jane Doe"}]
</script>
Not finding the help you need?
Contact Support