fromJSON Method

Summary

Converts a JSON-compatible dictionary object to a new LeadPointD instance.

Syntax
TypeScript
JavaScript
fromJSON = function( 
   jsonObject 
) 
static fromJSON( 
   jsonObject: any 
): LeadPointD; 

Parameters

jsonObject

A JavaScript JSON-compatible object that describes the LeadPointD instance.

Return Value

a new LeadPointD instance to describe the JSON object.

Remarks

The FromJSON method is meant for use only with JSON objects created via ToJSON from a LeadPointD instance. The ToJSON and FromJSON methods allow the transfer of LeadPointD data between .NET, Java, and JavaScript.

Requirements

Target Platforms

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

Leadtools Assembly