Table of Contents

Class BlendMode.JsonConverter

Namespace
PAC.Colour
public class BlendMode.JsonConverter : JsonConversion.JsonConverter<BlendMode, JsonData.String>
Inheritance
BlendMode.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 BlendMode FromJson(JsonData.String jsonData)

Parameters

jsonData JsonData.String

Returns

BlendMode

ToJson(BlendMode)

Attempts to convert the C# object into JSON data.

public override JsonData.String ToJson(BlendMode blendMode)

Parameters

blendMode BlendMode

Returns

JsonData.String