JsonConfig-bronemishka
2.1.0
See the version list below for details.
dotnet add package JsonConfig-bronemishka --version 2.1.0
NuGet\Install-Package JsonConfig-bronemishka -Version 2.1.0
<PackageReference Include="JsonConfig-bronemishka" Version="2.1.0" />
paket add JsonConfig-bronemishka --version 2.1.0
#r "nuget: JsonConfig-bronemishka, 2.1.0"
// Install JsonConfig-bronemishka as a Cake Addin #addin nuget:?package=JsonConfig-bronemishka&version=2.1.0 // Install JsonConfig-bronemishka as a Cake Tool #tool nuget:?package=JsonConfig-bronemishka&version=2.1.0
JsonConfigNet
<img src="icon.png" alt="JsonConfigLogo" style="height: 256px; width:256px;"/> <br> Pretty simple library that allows easily managing and creating json configs.
📕Description
Main target of this library is to make simple library that can be used in any your project to simply create and manage json configuration files
For that reason I created this.
🛠Installation
You can download nuget package here.
Otherwise you can compile library by yourself, and all you needed is .net6.0 or later and IDE, where you can open the solution or dotnet build
if you know how to use it.
🏗Usage
To use this library firstly you need to compile it and include in your dependencies, or just install it as nuget package. Then import it by using JsonConfig;
in your code
After this you can create an instance of JConfig class and use dynamic or your custom class type, also you need to pass path to config when initializing class. After creating instance of JConfig you can access every setting via Config property if you have passed typed class or you can try access any possible property if you have dynamic class passed. To save and load config you have dedicated methods:
- LoadConfig()
Where you pass path to json file, so it tries to deserialize it and then place in Config property - SaveConfig()
Where you pass path to where json file should be saved.
*Example of library usage can be found here
🆘Support
Feel free to suggest features and report bugs in issues tab. That will make this small lib much better
📝Contributing
If you want to contribute, then make sure that it scopes changes related to bugfixes and code improvements.
📃License
Licensed under GNU GPL v3.0
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- Newtonsoft.Json (>= 13.0.1)
- Serilog (>= 2.11.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.