OrleansJsonSerializer
class
Namespace: Orleans.Serialization
Serializes and deserializes values using Newtonsoft.Json settings configured for Orleans types.
public class OrleansJsonSerializerConstructors
OrleansJsonSerializer(IOptions<OrleansJsonSerializerOptions>)Initializes a new instance of theOrleansJsonSerializerclass.
Methods
Deserialize(Type, Stream)Deserializes an object of the specified expected type from the provided stream.Deserialize(Type, string?)Deserializes an object of the specified expected type from the provided input.Serialize(object?, Type)Serializes an object to a JSON string.Serialize(object?, Type, Stream)Serializes an object to a stream.
Fields
IndentJsonPropertyThe configuration property name for selecting indented JSON formatting.TypeNameHandlingPropertyThe configuration property name for selecting how type names are included in JSON.UseFullAssemblyNamesPropertyThe configuration property name for selecting full assembly-qualified type names.
