GeoJsonUtils.Parse method

Version 1.0.0-beta002
.NET Framework 4.7
Namespace Skybrud.Essentials.Maps.GeoJson
Assembly Skybrud.Essentials.Maps.dll

Parse(string)

Static

Parses the specified json string into an instance of .

public static T Parse(string json)

Parameters

json String

The JSON string to be parsed.

Returns

T

An instance of .

Parse(string)

Static

Parses the specified json string into an instance inheriting from GeoJsonObject.

As the type is specified in the JSON, the returned instance for a GeoJSON Feature will be GeoJsonFeature, a Point will be GeoJsonPoint and so accordingly.

public static GeoJsonObject Parse(string json)

Parameters

json String

The JSON string to be parsed.

Returns

An instance of GeoJsonObject.