C# 클래스 Akka.Serialization.NewtonSoftJsonSerializer

Class NewtonSoftJsonSerializer.
상속: Serializer
파일 보기 프로젝트 열기: rogeralsing/akka.net 1 사용 예제들

공개 메소드들

메소드 설명
FromBinary ( byte bytes, Type type ) : object

Deserializes a byte array into an object of type type.

NewtonSoftJsonSerializer ( ExtendedActorSystem system ) : System

Initializes a new instance of the NewtonSoftJsonSerializer class.

ToBinary ( object obj ) : byte[]

Serializes the given object into a byte array

비공개 메소드들

메소드 설명
GetValue ( string V ) : object
TranslateSurrogate ( object deserializedValue, NewtonSoftJsonSerializer parent, Type type ) : object

메소드 상세

FromBinary() 공개 메소드

Deserializes a byte array into an object of type type.
public FromBinary ( byte bytes, Type type ) : object
bytes byte The array containing the serialized object
type System.Type The type of object contained in the array
리턴 object

NewtonSoftJsonSerializer() 공개 메소드

Initializes a new instance of the NewtonSoftJsonSerializer class.
public NewtonSoftJsonSerializer ( ExtendedActorSystem system ) : System
system ExtendedActorSystem The actor system to associate with this serializer.
리턴 System

ToBinary() 공개 메소드

Serializes the given object into a byte array
public ToBinary ( object obj ) : byte[]
obj object The object to serialize
리턴 byte[]