Novolis.Snapshots.Json
2026.1.2.40
dotnet add package Novolis.Snapshots.Json --version 2026.1.2.40
NuGet\Install-Package Novolis.Snapshots.Json -Version 2026.1.2.40
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Novolis.Snapshots.Json" Version="2026.1.2.40" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Novolis.Snapshots.Json" Version="2026.1.2.40" />
<PackageReference Include="Novolis.Snapshots.Json" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Novolis.Snapshots.Json --version 2026.1.2.40
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Novolis.Snapshots.Json, 2026.1.2.40"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Novolis.Snapshots.Json@2026.1.2.40
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Novolis.Snapshots.Json&version=2026.1.2.40
#tool nuget:?package=Novolis.Snapshots.Json&version=2026.1.2.40
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Novolis.Snapshots.Json
JSON IStateSerializer<TState> using System.Text.Json. Deserializes into a temporary instance, then copies public writable properties (or dictionary entries) into the target object.
Install
dotnet add package Novolis.Snapshots.Json
Depends on Novolis.Snapshots.Abstractions.
Quick start
using Novolis.Snapshots.Json;
var serializer = new JsonStateSerializer<MyState>(new JsonSerializerOptions { WriteIndented = true });
using var ms = new MemoryStream();
await serializer.WriteAsync(state, ms);
ms.Position = 0;
await serializer.ReadAsync(existingState, ms);
API
| Type | Role |
|---|---|
JsonStateSerializer<TState> |
IStateSerializer<TState> where TState : class |
Constructor accepts optional JsonSerializerOptions (default: compact JSON).
Related
| Package | Role |
|---|---|
Novolis.Snapshots.Abstractions |
IStateSerializer<TState> contract |
Novolis.Snapshots.Memory |
Uses serializer for in-process clones |
Novolis.Snapshots.FileSystem |
Persists serializer output to disk |
Novolis.Snapshots.Zip |
Embeds serializer output in zip entries |
Novolis.Timeline.FileSystem |
Reuses JSON options for timeline persistence |
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Novolis.Snapshots.Abstractions (>= 2026.1.2.40)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Novolis.Snapshots.Json:
| Package | Downloads |
|---|---|
|
Novolis.Workspaces.FileSystem
Physical workspace layout on disk using System.IO.Abstractions. |
|
|
Novolis.Timeline.FileSystem
Persists timeline graphs under a directory using System.IO.Abstractions. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.1.2.40 | 35 | 10/4/2026 |
| 2026.1.2.38 | 58 | 10/2/2026 |
| 2026.1.2.37 | 57 | 10/1/2026 |
| 2026.1.2.36 | 59 | 10/1/2026 |
| 2026.1.2.35 | 63 | 9/30/2026 |