Quartz.Serialization.Newtonsoft 4.0.0-alpha.2
Quartz.Serialization.Newtonsoft
Quartz.Serialization.Newtonsoft serializes what a Quartz.NET ADO.NET job store persists — job data maps, calendars and trigger state — with Json.NET.
System.Text.Json serialization is built into the core
Quartz package and is the default, so reach for this one when
what is already in your database was written by Json.NET, or when your job data depends on how Json.NET
handles it. It is the successor to Quartz 3's Quartz.Serialization.Json.
Installation
dotnet add package Quartz.Serialization.Newtonsoft
Usage
builder.Services.AddQuartz(q => q.UsePersistentStore(store =>
{
store.UseSqlServer(connectionString);
store.Configure(options => options.StoreJobDataAsStrings = true);
store.UseNewtonsoftJsonSerializer();
}));
The same UseNewtonsoftJsonSerializer call configures a store built without a host, and the flat key
quartz.serializer.type = newtonsoft selects it from configuration.
StoreJobDataAsStrings is worth setting whichever serializer you use: it keeps job data out of the
serializer altogether, which is what avoids surprises when a persisted type later changes shape.
Documentation
https://www.quartz-scheduler.net/documentation/quartz-4.x/packages/json-serialization.html
Showing the top 20 packages that depend on Quartz.Serialization.Newtonsoft.
| Packages | Downloads |
|---|---|
|
Quartz.Serialization.Json
Renamed to Quartz.Serialization.Newtonsoft in 4.0. This package is empty and exists only so a grouped dependency update can move to 4.x - reference Quartz.Serialization.Newtonsoft instead, and see the migration guide.
|
3 |
.NET 10.0
- Quartz (>= 4.0.0-alpha.2)
- Newtonsoft.Json (>= 13.0.4)
- Microsoft.Extensions.DependencyInjection (>= 10.0.11)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.11)
- Microsoft.Extensions.Logging (>= 10.0.11)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.11)
| Version | Downloads | Last updated |
|---|---|---|
| 4.0.1 | 1 | 09/10/2026 |
| 4.0.0 | 2 | 09/09/2026 |
| 4.0.0-rc.2 | 3 | 09/09/2026 |
| 4.0.0-rc.1 | 0 | 09/03/2026 |
| 4.0.0-beta.1 | 2 | 09/09/2026 |
| 4.0.0-alpha.5 | 2 | 09/09/2026 |
| 4.0.0-alpha.4 | 2 | 09/11/2026 |
| 4.0.0-alpha.3 | 2 | 09/09/2026 |
| 4.0.0-alpha.2 | 1 | 09/10/2026 |
| 4.0.0-alpha.1 | 0 | 08/22/2026 |