Edit

Share via


NewtonsoftJsonCodec Class

Definition

[Orleans.Alias("json.net")]
public class NewtonsoftJsonCodec : Orleans.Serialization.Cloning.IGeneralizedCopier, Orleans.Serialization.ITypeFilter, Orleans.Serialization.Serializers.IGeneralizedCodec
[<Orleans.Alias("json.net")>]
type NewtonsoftJsonCodec = class
    interface IGeneralizedCodec
    interface IFieldCodec
    interface IGeneralizedCopier
    interface IDeepCopier
    interface ITypeFilter
Public Class NewtonsoftJsonCodec
Implements IGeneralizedCodec, IGeneralizedCopier, ITypeFilter
Inheritance
NewtonsoftJsonCodec
Attributes
Implements

Constructors

NewtonsoftJsonCodec(IEnumerable<ICodecSelector>, IEnumerable<ICopierSelector>, IOptions<NewtonsoftJsonCodecOptions>)

Initializes a new instance of the NewtonsoftJsonCodec class.

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)
IFieldCodec.WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, Object)
IGeneralizedCodec.IsSupportedType(Type)
IGeneralizedCopier.IsSupportedType(Type)

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

ITypeFilter.IsTypeAllowed(Type)

Applies to