JsonTable 1.0.7
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package JsonTable --version 1.0.7
NuGet\Install-Package JsonTable -Version 1.0.7
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="JsonTable" Version="1.0.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add JsonTable --version 1.0.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: JsonTable, 1.0.7"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install JsonTable as a Cake Addin #addin nuget:?package=JsonTable&version=1.0.7 // Install JsonTable as a Cake Tool #tool nuget:?package=JsonTable&version=1.0.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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.6
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 | 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- 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 |