JsonTable 1.0.12
See the version list below for details.
dotnet add package JsonTable --version 1.0.12
NuGet\Install-Package JsonTable -Version 1.0.12
<PackageReference Include="JsonTable" Version="1.0.12" />
paket add JsonTable --version 1.0.12
#r "nuget: JsonTable, 1.0.12"
// Install JsonTable as a Cake Addin #addin nuget:?package=JsonTable&version=1.0.12 // Install JsonTable as a Cake Tool #tool nuget:?package=JsonTable&version=1.0.12
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.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 | 458 | 11/7/2022 |
1.0.13 | 508 | 9/14/2022 |
1.0.12 | 414 | 6/27/2022 |
1.0.11 | 398 | 6/27/2022 |
1.0.10 | 428 | 6/3/2022 |
1.0.9 | 406 | 6/2/2022 |
1.0.8 | 400 | 6/2/2022 |
1.0.7 | 431 | 3/21/2022 |
1.0.6 | 593 | 1/10/2022 |
1.0.4 | 277 | 1/10/2022 |
1.0.3 | 253 | 1/9/2022 |
1.0.2 | 256 | 1/9/2022 |
1.0.1 | 257 | 1/9/2022 |
1.0.0 | 300 | 1/5/2022 |