Click or drag to resize
Akka.NETNewtonSoftJsonSerializer Class
This is a special Serializer that serializes and deserializes javascript objects only. These objects need to be in the JavaScript Object Notation (JSON) format.
Inheritance Hierarchy
SystemObject
  Akka.SerializationSerializer
    Akka.SerializationNewtonSoftJsonSerializer

Namespace:  Akka.Serialization
Assembly:  Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public class NewtonSoftJsonSerializer : Serializer

The NewtonSoftJsonSerializer type exposes the following members.

Constructors
  NameDescription
Public methodNewtonSoftJsonSerializer(ExtendedActorSystem)
Initializes a new instance of the NewtonSoftJsonSerializer class.
Public methodNewtonSoftJsonSerializer(ExtendedActorSystem, Config)
Initializes a new instance of the NewtonSoftJsonSerializer class
Public methodNewtonSoftJsonSerializer(ExtendedActorSystem, NewtonSoftJsonSerializerSettings)
Initializes a new instance of the NewtonSoftJsonSerializer class
Top
Properties
  NameDescription
Public propertyIdentifier
Completely unique value to identify this implementation of the Serializer used to optimize network traffic
(Overrides SerializerIdentifier.)
Public propertyIncludeManifest
Returns whether this serializer needs a manifest in the fromBinary method
(Overrides SerializerIncludeManifest.)
Public propertySerializer
TBD
Public propertySettings
TBD
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFromBinary(Byte, Type)
Deserializes a byte array into an object of type type.
(Overrides SerializerFromBinary(Byte, Type).)
Public methodFromBinaryT(Byte)
Deserializes a byte array into an object.
(Inherited from Serializer.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToBinary
Serializes the given object into a byte array
(Overrides SerializerToBinary(Object).)
Public methodToBinaryWithAddress
Serializes the given object into a byte array and uses the given address to decorate serialized ActorRef's
(Inherited from Serializer.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected fieldsystem
The actor system to associate with this serializer.
(Inherited from Serializer.)
Top
Extension Methods
See Also