CompactJsonCodec 1.0.0

.NET Standard 2.1
NuGet\Install-Package CompactJsonCodec -Version 1.0.0
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.
dotnet add package CompactJsonCodec --version 1.0.0
<PackageReference Include="CompactJsonCodec" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CompactJsonCodec --version 1.0.0
#r "nuget: CompactJsonCodec, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install CompactJsonCodec as a Cake Addin
#addin nuget:?package=CompactJsonCodec&version=1.0.0

// Install CompactJsonCodec as a Cake Tool
#tool nuget:?package=CompactJsonCodec&version=1.0.0

Compact JSON

Provides compact serialization and deserialization of IEnumerable<IDictionary<string, object>> record sets. Useful when both sides are under your control, with both sides using this library. Not great for general interoperability. Please see unit tests for example usage.

Example Output

{
  "keys": [
    "personid",
    "somemoney",
    "customercode"
  ],
  "types": [
    "System.Int32",
    "System.Decimal",
    "System.String"
  ],
  "rowcount": 10,
  "rows": [
    [
      "101",
      0,
      "customer 1000"
    ],
    [
      "111",
      1,
      100000.01,
      "customer 1001"
    ],
    [
      "111",
      2,
      200000.02,
      "customer 1002"
    ],
    [
      "111",
      3,
      300000.03,
      "customer 1003"
    ],
    [
      "111",
      4,
      400000.04,
      "customer 1004"
    ],
    [
      "111",
      5,
      500000.05,
      "customer 1005"
    ],
    [
      "111",
      6,
      600000.06,
      "customer 1006"
    ],
    [
      "111",
      7,
      700000.07,
      "customer 1007"
    ],
    [
      "111",
      8,
      800000.08,
      "customer 1008"
    ],
    [
      "111",
      9,
      900000.09,
      "customer 1009"
    ]
  ]
}
Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.1
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
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.0 168 8/18/2021