Table of Contents

Class SemanticVersion.JsonConverter

Namespace
PAC.DataStructures
public class SemanticVersion.JsonConverter : JsonConversion.JsonConverter<SemanticVersion, JsonData.String>
Inheritance
SemanticVersion.JsonConverter
Inherited Members

Methods

FromJson(String)

Attempts to convert the JSON data into a C# object of the given type.

NOTE: JsonConverter has a default implementation for an overload FromJson(JsonData jsonData) that ensures it is of type JsonDataType before calling the specific overload FromJSON(JsonDataType jsonData).

public override SemanticVersion FromJson(JsonData.String jsonData)

Parameters

jsonData JsonData.String

Returns

SemanticVersion

ToJson(SemanticVersion)

Attempts to convert the C# object into JSON data.

public override JsonData.String ToJson(SemanticVersion version)

Parameters

version SemanticVersion

Returns

JsonData.String