Skip to content

Latest commit

 

History

History
3 lines (3 loc) · 603 Bytes

README.md

File metadata and controls

3 lines (3 loc) · 603 Bytes

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.