Class GuidConverter#
Defined in File GuidConverter.cs
Inheritance Relationships#
Base Type#
public JsonConverter< Guid >
Class Documentation#
- class xbe.sdk.GuidConverter : JsonConverter<Guid>#
Converts a Guid to and from its System.String representation.
Public Functions
- override Guid ReadJson (JsonReader reader, Type objectType, Guid existingValue, bool hasExistingValue, JsonSerializer serializer)#
Reads the JSON representation of the object.
- Param reader:
The JsonReader to read from.
- Param objectType:
Type of the object.
- Param existingValue:
The existing value of object being read.
- Param serializer:
The calling serializer.
- Return:
The object value.
- override void WriteJson (JsonWriter writer, Guid value, JsonSerializer serializer)#
Writes the JSON representation of the object.
- Param writer:
The JsonWriter to write to.
- Param value:
The value.
- Param serializer:
The calling serializer.