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.
-
Notifications
You must be signed in to change notification settings - Fork 0
denmitchell/JsonUtils
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
JSON.NET JsonConverter that prevents self-referencing loops and, via subclassing, allows specifying of max-depth for serialization and ignoring of specified properties
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published