Open sandboxFocus

Class JsonCachingSerializer

A serialized based on System.Text.Json.

Inheritance
JsonCachingSerializer
Implements
Namespace: Metalama.Patterns.Caching.Serializers
Assembly: Metalama.Patterns.Caching.Backend.dll
Syntax
public class JsonCachingSerializer : ICachingSerializer

Constructors

Name Description
JsonCachingSerializer(JsonSerializerOptions?)

Methods

Name Description
Deserialize(BinaryReader)

Deserializes a byte array into an object.

GetTypeName(Type)
ResolveTypeName(string)
Serialize(object?, BinaryWriter)

Serializes an object into a byte array.

Extension Methods