Skip to main content

GeospatialYamlSerializer

Namespace: Meshmakers.Octo.Runtime.Contracts.Geospatial

Serializes geospatial object types to YAML format.

public class GeospatialYamlSerializer : IGeospatialYamlSerializer

Inheritance ObjectGeospatialYamlSerializer
Implements IGeospatialYamlSerializer

Constructors

GeospatialYamlSerializer()

Creates a new instance of the GeospatialYamlSerializer class.

public GeospatialYamlSerializer()

Methods

Serialize<T>(T)

public string Serialize<T>(T obj)

Type Parameters

T

Parameters

obj T

Returns

String

Deserialize<T>(String)

public T Deserialize<T>(string yaml)

Type Parameters

T

Parameters

yaml String

Returns

T