An implementation of BinaryFormatter that uses BinaryFormatter (for classes annotated with SerializableAttribute).
Implements
Namespace: PostSharp.Patterns.Caching.Serializers
Assembly: PostSharp.Patterns.Caching.dll
Syntax
public class JsonCachingSerializer : ISerializerConstructors
| Name | Description |
|---|---|
| JsonCachingSerializer(JsonSerializerOptions) | Initializes new instance of the serializer. |
Methods
| Name | Description |
|---|---|
| Deserialize(byte[]) | Deserializes a byte array into an object. |
| GetTypeName(Type) | Creates an assembly-qualified type name string from a Type. |
| ResolveTypeName(string) | Resolves an assebly-qualified type name to a Type. |
| Serialize(object) | Serializes an object into a byte array. |