Use the Newtonsoft Json.Net serialization with StackExchange.Redis. NuGet Package

StackExchange.Redis.Extensions is a library that extends StackExchange.Redis with higher-level APIs for common application scenarios.

Features:
- Store and retrieve complex .NET objects with pluggable serialization
- Connection pooling with LeastLoaded and RoundRobin strategies
- Pub/Sub messaging with typed handlers and error logging
- Redis Streams with consumer group support
- GeoSpatial indexes (GEOADD, GEOSEARCH, GEODIST)
- Hash field expiry (Redis 7.4+ HEXPIRE/HSETEX)
- Transparent compression (LZ4, Snappy, Zstd, GZip, Brotli)
- Azure Managed Identity support
- ASP.NET Core DI integration
- Multiple named Redis instances
- Tags, Sets, Lists, Sorted Sets, key search

Serializer packages (pick one): System.Text.Json, Newtonsoft, MemoryPack, MsgPack, Protobuf, ServiceStack, Utf8Json.




Got any Use the Newtonsoft Json.Net serialization with StackExchange.Redis. Question?





Info

Version: 12.1.0
Author(s): Ugo Lattanzi
Last Update: Saturday, April 11, 2026
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/imperugo/StackExchange.Redis.Extensions
NuGet Url: https://www.nuget.org/packages/StackExchange.Redis.Extensions.Newtonsoft


Install
Install-Package StackExchange.Redis.Extensions.Newtonsoft
dotnet add package StackExchange.Redis.Extensions.Newtonsoft
paket add StackExchange.Redis.Extensions.Newtonsoft
StackExchange.Redis.Extensions.Newtonsoft Download (Unzip the "nupkg" after downloading)

.NETStandard 2.0 net461 net472 netcoreapp3.0 netcoreapp3.1 20 packages depend on this package.


Tags



STATS

must-have-score

4.3

avg-downloads-per-day

4936

days-since-last-release

28