Oakrey.Applications.Json.Abstractions 7.0.0

dotnet add package Oakrey.Applications.Json.Abstractions --version 7.0.0
                    
NuGet\Install-Package Oakrey.Applications.Json.Abstractions -Version 7.0.0
                    
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="Oakrey.Applications.Json.Abstractions" Version="7.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Oakrey.Applications.Json.Abstractions" Version="7.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Oakrey.Applications.Json.Abstractions" />
                    
Project file
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 Oakrey.Applications.Json.Abstractions --version 7.0.0
                    
#r "nuget: Oakrey.Applications.Json.Abstractions, 7.0.0"
                    
#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 Oakrey.Applications.Json.Abstractions@7.0.0
                    
#: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=Oakrey.Applications.Json.Abstractions&version=7.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Oakrey.Applications.Json.Abstractions&version=7.0.0
                    
Install as a Cake Tool

Oakrey.Applications.Json.Abstractions

Contracts for JSON serialization and deserialization in .NET 10 applications.

API

  • LoadJson<T>: synchronous deserialization.
  • LoadJsonAsync<T>: asynchronous deserialization with cancellation.
  • LoadObjectsFromJsonFilesAsync<T>: sequential batch deserialization.
  • SaveJson<T>: synchronous serialization.
  • SaveJsonAsync<T>: asynchronous serialization returning Task.
  • SaveJsonFiles<TNamed>: saves IName objects to individual files.

Dependency

  • Oakrey.Collections 2.1.0, because IName is part of the public contract.

Installation

dotnet add package Oakrey.Applications.Json.Abstractions

Register a concrete implementation in the application composition root:

services.AddSingleton<IJsonService, JsonService>();

Usage

await jsonService.SaveJsonAsync(config, "config/app.json");

License

MIT. Copyright (c) Oakrey 2016-present.

Product 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.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Oakrey.Applications.Json.Abstractions:

Package Downloads
Oakrey.Applications.ControlObjects

A .NET WPF library for building interactive, validated control objects. Provides a base class hierarchy for reactive sending objects, enable/disable and timer-driven variants, cancelable async operations, device abstraction, multi-key gesture support, and observable collections with automatic JSON persistence.

Oakrey.Applications.Json

Provides IJsonService for stream-based JSON serialization and deserialization using System.Text.Json, with async CancellationToken support, batch directory load, IName-keyed batch save, and built-in logging and OpenTelemetry tracing via IFileService.

Oakrey.Applications.Ohm.CAN

Service layer library for managing CAN bus hardware devices and channels. Provides device discovery, connection lifecycle management, reactive IObservable streams for received frames and status changes, per-channel transmit, USB hot-plug detection, and persistent JSON configuration.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
7.0.0 115 7/20/2026
6.0.0 212 5/22/2026
3.0.4 136 5/22/2026