Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

toJSON method

Returns the calling object as a JavaScript Object Notation (JSON) object.

Internet Explorer 9



BSTR retVal = object.toJSON();


This method has no parameters.

Standards information

There are no standards that apply here.


Windows Internet Explorer 9. This method is supported only for documents displayed in IE9 Standards mode. For more information, please see Defining Document Compatibility.

See also

An Introduction to JavaScript Object Notation (JSON) in JavaScript and .NET



Community Additions

© 2015 Microsoft