EDennis.JsonUtils
3.1.0
See the version list below for details.
dotnet add package EDennis.JsonUtils --version 3.1.0
NuGet\Install-Package EDennis.JsonUtils -Version 3.1.0
<PackageReference Include="EDennis.JsonUtils" Version="3.1.0" />
paket add EDennis.JsonUtils --version 3.1.0
#r "nuget: EDennis.JsonUtils, 3.1.0"
// Install EDennis.JsonUtils as a Cake Addin #addin nuget:?package=EDennis.JsonUtils&version=3.1.0 // Install EDennis.JsonUtils as a Cake Tool #tool nuget:?package=EDennis.JsonUtils&version=3.1.0
JsonUtils
Contains a JSON.NET JsonConverter that prevents self-referencing loops and allows specifying of (a) max-depth for serialization, (b) ignoring of specified properties, and (c) modulo operations on specified integral properties. The modulo operations can be used to create "Equivalence Class Ids" -- Ids that can be seen as constant across deletions and re-inserts, despite having an auto-increment, sequence-driven real value in a shared database environment. This library is used by EDennis.NetCoreTestingUtilities for comparing object via serialization to json, with optional filtering.
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 is compatible. netcoreapp3.1 was computed. |
-
.NETCoreApp 3.0
- Newtonsoft.Json (>= 12.0.2)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on EDennis.JsonUtils:
Package | Downloads |
---|---|
EDennis.NetCoreTestingUtilities
Provides various classes that assist with .NET Core 3 unit testing. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.2.9 | 2,648 | 1/28/2020 |
3.2.8 | 985 | 1/21/2020 |
3.2.7 | 2,293 | 1/9/2020 |
3.2.6 | 2,776 | 12/12/2019 |
3.2.5 | 788 | 12/12/2019 |
3.2.4 | 767 | 12/12/2019 |
3.2.3 | 492 | 12/11/2019 |
3.2.2 | 497 | 12/11/2019 |
3.2.1 | 501 | 12/10/2019 |
3.2.0 | 531 | 12/10/2019 |
3.1.1 | 786 | 12/9/2019 |
3.1.0 | 811 | 10/22/2019 |
3.0.0 | 805 | 10/8/2019 |
1.3.5 | 1,800 | 6/20/2019 |
1.3.4 | 869 | 5/7/2019 |
1.3.3 | 867 | 5/7/2019 |
1.3.2 | 844 | 5/3/2019 |
1.3.1 | 6,174 | 3/25/2019 |
1.3.0 | 5,843 | 12/15/2018 |
1.2.0 | 12,596 | 6/6/2018 |
1.0.1 | 1,927 | 6/4/2018 |
1.0.0 | 928 | 5/3/2018 |
0.2.5 | 1,466 | 5/2/2018 |
0.2.4 | 1,258 | 4/17/2018 |
0.2.3 | 1,536 | 3/23/2018 |
0.2.2 | 1,237 | 3/9/2018 |
0.2.1 | 948 | 3/9/2018 |
0.2.0 | 1,275 | 3/9/2018 |
0.1.1 | 941 | 3/8/2018 |
0.1.0 | 1,390 | 3/8/2018 |
0.0.4-alpha | 1,219 | 3/5/2018 |
0.0.3-alpha | 810 | 3/5/2018 |
0.0.2-alpha | 864 | 3/5/2018 |
Added ModuloTransform (Dictionary<string,ulong>) parameter to serializer. This transform is useful for complex Ids that are generated by adding a test-specific subsequence value to a high-start/high-increment sequence value. The transform can produce Ids that don't change between tests, even in a shared
database environment. In mathematical terminology, we can call these kind of Ids "Equilvalence Class Ids"