Edit

Share via


GrainIdJsonConverter Class

Definition

Functionality for converting a GrainId to and from a JSON string.

public sealed class GrainIdJsonConverter : System.Text.Json.Serialization.JsonConverter<Orleans.Runtime.GrainId>
type GrainIdJsonConverter = class
    inherit JsonConverter<GrainId>
Public NotInheritable Class GrainIdJsonConverter
Inherits JsonConverter(Of GrainId)
Inheritance
GrainIdJsonConverter

Constructors

GrainIdJsonConverter()

Methods

Read(Utf8JsonReader, Type, JsonSerializerOptions)

Reads and converts the JSON to type T.

Write(Utf8JsonWriter, GrainId, JsonSerializerOptions) System.Text.Json.Serialization.JsonConverter`1.Write(System.Text.Json.Utf8JsonWriter,Orleans.Runtime.GrainId,System.Text.Json.JsonSerializerOptions)

Applies to