Edit this page

toJSON

Creates a plain JavaScript object which contains all fields of the ObservableObject.

Returns

Object which contains only the fields of the ObservableObject.

Example

<script>
var observable = new kendo.data.ObservableObject({ person: { name: "John Doe" } });
var json = observable.toJSON();
console.log(JSON.stringify(json)); // outputs {"person":{"name":"John Doe"}}
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy