GrainIdJsonConverter
class
Namespace: Orleans.Runtime
Functionality for converting a
GrainId to and from a JSON string. public sealed class GrainIdJsonConverter : JsonConverter<GrainId>Constructors
Methods
Read(Utf8JsonReader, Type, JsonSerializerOptions)Reads and converts the JSON to typeT.ReadAsPropertyName(Utf8JsonReader, Type, JsonSerializerOptions)Reads a dictionary key from a JSON property name.Write(Utf8JsonWriter, GrainId, JsonSerializerOptions)Writes a specified value as JSON.WriteAsPropertyName(Utf8JsonWriter, GrainId, JsonSerializerOptions)Writes a dictionary key as a JSON property name.
