|
Pavalisoft.Caching
1.2.1
A single unified Caching Api for both MemoryCache and DistributedCache implementations including CacheManager
|
Json implementation of Cache object ISerializer More...
Public Member Functions | |
| JsonSerializer (JsonSerializerSettings settings=default) | |
| Creates an instance of JsonSerializer class with json serialization settings More... | |
| byte [] | Serialize< T > (T item) |
| Serializes the specified Cached Object. | |
| Task< byte[]> | SerializeAsync< T > (T item) |
| Serializes the specified Cached Object asynchronous. | |
| T | Deserialize< T > (byte[] bytes) |
| Deserializes the specified bytes to T . | |
| Task< T > | DeserializeAsync< T > (byte[] bytes) |
| Deserializes the specified bytes to T asynchronously. | |
Json implementation of Cache object ISerializer
| Pavalisoft.Caching.Serializers.JsonSerializer.JsonSerializer | ( | JsonSerializerSettings | settings = default | ) |
Creates an instance of JsonSerializer class with json serialization settings
| settings | Optional. The JsonSerializerSettings |