JsonFileWrapper 1.2.3
New name and newer code
dotnet add package JsonFileWrapper --version 1.2.3
NuGet\Install-Package JsonFileWrapper -Version 1.2.3
<PackageReference Include="JsonFileWrapper" Version="1.2.3" />
<PackageVersion Include="JsonFileWrapper" Version="1.2.3" />
<PackageReference Include="JsonFileWrapper" />
paket add JsonFileWrapper --version 1.2.3
#r "nuget: JsonFileWrapper, 1.2.3"
#:package JsonFileWrapper@1.2.3
#addin nuget:?package=JsonFileWrapper&version=1.2.3
#tool nuget:?package=JsonFileWrapper&version=1.2.3
<p align="center">
JsonFileWrapper
</p>
JSON file wrapper with Save and load functions for .NET 10+
Back in 2009, I wanted my students to truly understand the power of OOP — not just the theory, but the feeling of writing a helper class that quietly does the heavy lifting so the rest of your code can breathe. I created JsonFileWrapper in that classroom: a simple wrapper that hides all the boilerplate of reading and writing JSON files behind a clean API. What started as a teaching example has since grown into a proper NuGet package, upgraded through the years from Newtonsoft.Json to the built-in
System.Text.Json. No external dependencies. Just good OOP.
Installation
dotnet add package JsonFileWrapper
Breaking Changes (v1.1.0)
.NET 10.0 Minimum Required
This version upgrades the target framework from .NET 8.0 to .NET 10.0.
Old:
<TargetFramework>net8.0</TargetFramework>
New:
<TargetFramework>net10.0</TargetFramework>
Namespace (unchanged):
using MarcusMedinaPro.JsonFileWrapper;
See CHANGELOG.md for complete migration guide.
Status
This package is under active development.
Documentation
Development
cd csharp
dotnet build -c Release
Package integrity
All releases are signed with cosign (Sigstore keyless signing).
To verify a downloaded package, download both the .nupkg and its .sigstore.json bundle from the GitHub Release, then run:
cosign verify-blob <package.nupkg> \
--bundle <package.nupkg.sigstore.json> \
--certificate-identity-regexp "https://github.com/MarcusMedinaPro/.*/release.yml" \
--certificate-oidc-issuer https://token.actions.githubusercontent.com
Expected output: Verified OK
| 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
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|