SettingHelp NuGet Package

配置文件的名字必须为appsettings.json。支持中文配置。方法中的泛型T表示json的结构。
使用方法: SettingHelp.Help.createSetting().getvalue<T>()
1.0.2新增:
添加getvalue<T>(string path) 方法, path为json文件中想要查询字段的路径,从根路径开始,多层路径之间用英文句号分隔, 例如 {a:b,c:{d:f}} ,想要获取值f , path为 c.d
1.0.3新增:
修改中文字符格式由GBK改为utf8.




Got any SettingHelp Question?





Info

Version: 1.0.3
Author(s): liuxinyang
Last Update: Tuesday, June 21, 2022
.NET Fiddle: Create the first Fiddle
NuGet Url: https://www.nuget.org/packages/SettingHelp


Install
Install-Package SettingHelp
dotnet add package SettingHelp
paket add SettingHelp
SettingHelp Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

avg-downloads-per-day

0

days-since-last-release

884