Compartir a través de


toJSON method

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

 

Syntax

BSTR retVal = object.toJSON();

Parameters

This method has no parameters.

Standards information

There are no standards that apply here.

Remarks

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