toJSON Method

Summary

Converts this LeadLengthD to a JSON-compatible dictionary object.

Syntax
TypeScript
JavaScript
LeadLengthD.prototype.toJSON = function() 
toJSON(): any; 

Return Value

a JavaScript JSON-compatible object to describe the LeadLengthD instance.

Remarks

The returned JSON object will have a single value property set to the Value for the instance.

The returned dictionary object can be used to create a new LeadLengthD instance with the static method FromJSON, though it is recommended to use Clone instead when simply creating a copy of the instance. The ToJSON and FromJSON methods allow the transfer of LeadLengthD data between .NET, Java, and JavaScript.

Following standard web specifications, the ToJSON method and subsequent return value are used automatically for a LeadLengthD instance when the global JSON.stringify function is called on that instance.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly