Nucs.JsonSettings 2.0.1

.NET Standard 2.0
dotnet add package Nucs.JsonSettings --version 2.0.1
NuGet\Install-Package Nucs.JsonSettings -Version 2.0.1
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="Nucs.JsonSettings" Version="2.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Nucs.JsonSettings --version 2.0.1
#r "nuget: Nucs.JsonSettings, 2.0.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Nucs.JsonSettings as a Cake Addin
#addin nuget:?package=Nucs.JsonSettings&version=2.0.1

// Install Nucs.JsonSettings as a Cake Tool
#tool nuget:?package=Nucs.JsonSettings&version=2.0.1

Easiest way you'll ever write settings for your app. This library is built to be modular and one-liner exploiting the powerful serialization capabilities of Json.NET out of the box without any mapping necessary to serialize nested custom objects, dictionaries and lists.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Nucs.JsonSettings:

Package Downloads

Windows 11 settings page in WinUI 3 apps With many useful helper classes


An extension to JsonSettings that allows to wrap a class via transparent proxy that autosaves. Support for Autosaving on INotifyPropertyChanged/INotifyCollectionChanged.


useful helpers, extension methods and classes

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Nucs.JsonSettings:

Repository Stars
GUI for installing apps through WinGet and Creating Yaml file
Version Downloads Last updated
2.0.1 115 1/13/2023
2.0.0-alpha7 3,175 5/23/2021
2.0.0-alpha5 238 5/9/2021
2.0.0-alpha4 213 5/8/2021
2.0.0-alpha3 258 5/1/2021
2.0.0-alpha2 283 3/31/2021
2.0.0-alpha1 226 3/29/2021
1.0.7 7,836 6/3/2018
1.0.6 914 5/26/2018
1.0.5 964 5/11/2018
1.0.4 948 4/12/2018
1.0.3 931 4/12/2018
1.0.2 955 4/8/2018 1,105 9/30/2017

- Added RecoveryModule  and .WithRecovery to capture parsing errors
- Added JsonSettings.SuspendAutosave() extension
- Added proxy construction guard to prevent unncessary allocation on proxy creation.
- Fix non virtual built-in properties returning null after being wrapped with proxy.
- Added ProxyGeneratedAttribute that is attached to every proxy-generated class
- Module: made Dispose() inheritable.
- Module.Socket: changed to WeakReference<JsonSettings>
- SettingsBag: added support for SuspendAutosave #26
- VersioningModule: some internal fixes and renames #19
- Added RecoveryModule and WithRecovery api. #19
- JsonSettings: added TryingRecover and Recovered events.
- JsonSettings: Removed ThrowOnEmptyFile, this is handled by RecoveryModule now
- Made all module functions and variables protected or virtual.
- FluentJsonSettings: replaced dynamic creation with hardcoded creation (faster).
- Added proper Versioning example
- JsonSettings: add OnXXXX methods that trigger event changed to protected internal.
- Made all modules extensible
- SettingsBag: removed locking, optimized and replaced with ConcurrentDictionary for threadsafety
- Added documentation