OrleansJsonSerializer Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Utility class for configuring Newtonsoft.Json.JsonSerializerSettings to support Orleans types.
public class OrleansJsonSerializer : Orleans.Serialization.IExternalSerializer
public class OrleansJsonSerializer
type OrleansJsonSerializer = class
interface IExternalSerializer
type OrleansJsonSerializer = class
Public Class OrleansJsonSerializer
Implements IExternalSerializer
Public Class OrleansJsonSerializer
- Inheritance
-
OrleansJsonSerializer
- Implements
Constructors
Fields
IndentJsonProperty | |
TypeNameHandlingProperty | |
UseFullAssemblyNamesProperty |
Methods
DeepCopy(Object, ICopyContext) |
Tries to create a copy of source. |
Deserialize(Type, IDeserializationContext) |
Tries to deserialize an item. |
Deserialize(Type, String) |
Deserializes an object of the specified expected type from the provided input. |
GetDefaultSerializerSettings(ITypeResolver, IGrainFactory) |
Returns the default serializer settings. |
GetDefaultSerializerSettings(SerializationManager, IGrainFactory) |
Returns the default serializer settings. |
Initialize(Logger) |
Initializes the external serializer. Called once when the serialization manager creates an instance of this type |
IsSupportedType(Type) |
Informs the serialization manager whether this serializer supports the type for serialization. |
Serialize(Object, ISerializationContext, Type) |
Serializes an object to a binary stream |
Serialize(Object, Type) |
Serializes an object to a JSON string. |
UpdateSerializerSettings(JsonSerializerSettings, Boolean, Boolean, Nullable<TypeNameHandling>) | |
UpdateSerializerSettings(JsonSerializerSettings, IProviderConfiguration) |
Customises the given serializer settings using provider configuration. Can be used by any provider, allowing the users to use a standard set of configuration attributes. |