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
<PackageReference Include="Oakrey.Applications.Json.Abstractions" Version="7.0.0" />
<PackageVersion Include="Oakrey.Applications.Json.Abstractions" Version="7.0.0" />
<PackageReference Include="Oakrey.Applications.Json.Abstractions" />
paket add Oakrey.Applications.Json.Abstractions --version 7.0.0
#r "nuget: Oakrey.Applications.Json.Abstractions, 7.0.0"
#:package Oakrey.Applications.Json.Abstractions@7.0.0
#addin nuget:?package=Oakrey.Applications.Json.Abstractions&version=7.0.0
#tool nuget:?package=Oakrey.Applications.Json.Abstractions&version=7.0.0
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 returningTask.SaveJsonFiles<TNamed>: savesINameobjects to individual files.
Dependency
Oakrey.Collections2.1.0, becauseINameis 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 | 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. |
-
net10.0
- Oakrey.Collections (>= 2.1.0)
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.