JsonCodec Class

Definition

A serialization codec which uses JsonSerializer.

C#
[Orleans.Alias("json")]
public class JsonCodec : Orleans.Serialization.Cloning.IGeneralizedCopier, Orleans.Serialization.ITypeFilter, Orleans.Serialization.Serializers.IGeneralizedCodec
Inheritance
JsonCodec
Attributes
Implements

Constructors

Fields

WellKnownAlias

The well-known type alias for this codec.

Explicit Interface Implementations

IDeepCopier.DeepCopy(Object, CopyContext)

Creates a deep copy of the provided untyped input. The type must still match the copier instance!

IFieldCodec.ReadValue<TInput>(Reader<TInput>, Field)

Reads a value and returns it untyped. The type must still match the codec instance!

IFieldCodec.WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, Object)

Writes a field using the provided untyped value. The type must still match the codec instance!

IGeneralizedCodec.IsSupportedType(Type)

Determines whether the specified type is supported by this instance.

IGeneralizedCopier.IsSupportedType(Type)

Returns a value indicating whether the provided type is supported by this implementation.

ITypeFilter.IsTypeAllowed(Type)

Determines whether the specified type is allowed to be serialized, deserialized, etcetera.

Applies to

Product Versions
.NET Orleans 7.0.0, 8.0.0, 8.1.0, 8.2.0, 9.0.0