JsonTable 1.0.14
dotnet add package JsonTable --version 1.0.14
NuGet\Install-Package JsonTable -Version 1.0.14
<PackageReference Include="JsonTable" Version="1.0.14" />
paket add JsonTable --version 1.0.14
#r "nuget: JsonTable, 1.0.14"
// Install JsonTable as a Cake Addin #addin nuget:?package=JsonTable&version=1.0.14 // Install JsonTable as a Cake Tool #tool nuget:?package=JsonTable&version=1.0.14
JsonTable
introduce
Easily usable Json to Table (dictionary and mores).
Use Newtonsoft.json.
usage
definition
[Table(@"json")]
public partial class TableItem : BaseDict<string, Item>
{
}
load
MasterTable.Load("ItemGenerator.Table");
use
var data = MasterTable.From<TableItem>();
MasterTable.From<TableItem>().FirstOrDefault(x => x.Id == id);
Support Types
- BaseList
List<T>
- BaseDict
Dictionary<K, T>
- BaseMultiDict
Dictionary<K, List<T>>
- Similar C++ stl Multimap
- Example
[Table(@"json")] public partial class TableItemByType : BaseMultiDict<ItemType, Item> { public TableItemByType() : base("Type") // input key property name { } }
Reference
Version History
v1.0.14
Modified the Load function interface behavior to allow loading from multiple assemblies.
v1.0.13
Remove nullable return of MasterTable and return an exception when requesting an invalid type.
v1.0.12
Added Json load optional method. (virtual interface, for Unity3D)
v1.0.11
Added Container methods (get internal container)
v1.0.10
Added Clone methods
v1.0.9
TargetFramework to netstandard2.1
v1.0.8
Fixed Nullable rule.
v1.0.7
Load from Binary path. (Full Path)
v1.0.6
Exception process reinforcement.
v1.0.5
Features added MultiDict. (like c++ stl multimap)
v1.0.4
Supports OnLoad() function to set configuration rules when container is loaded.
v1.0.3
Tables now only require a folder path. (The full path is not required.)
v1.0.1
removed nullable property on container (BaseDict and BaseList).
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Newtonsoft.Json (>= 13.0.1)
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 |
---|---|---|
1.0.14 | 468 | 11/7/2022 |
1.0.13 | 517 | 9/14/2022 |
1.0.12 | 420 | 6/27/2022 |
1.0.11 | 406 | 6/27/2022 |
1.0.10 | 434 | 6/3/2022 |
1.0.9 | 412 | 6/2/2022 |
1.0.8 | 406 | 6/2/2022 |
1.0.7 | 437 | 3/21/2022 |
1.0.6 | 599 | 1/10/2022 |
1.0.4 | 284 | 1/10/2022 |
1.0.3 | 259 | 1/9/2022 |
1.0.2 | 262 | 1/9/2022 |
1.0.1 | 263 | 1/9/2022 |
1.0.0 | 306 | 1/5/2022 |