JsonTable 1.0.8

There is a newer version of this package available.
See the version list below for details.
dotnet add package JsonTable --version 1.0.8                
NuGet\Install-Package JsonTable -Version 1.0.8                
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.8" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add JsonTable --version 1.0.8                
#r "nuget: JsonTable, 1.0.8"                
#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.8

// Install JsonTable as a Cake Tool
#tool nuget:?package=JsonTable&version=1.0.8                

Website Made with

Publish Nuget Github Package Publish Nuget Package

GitHub forks GitHub stars GitHub watchers GitHub followers

GitHub GitHub repo size in bytes GitHub code size in bytes

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

Cli

Version History

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 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.

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