Skip to content

JSON.NET JsonConverter that prevents self-referencing loops and, via subclassing, allows specifying of max-depth for serialization and ignoring of specified properties

Notifications You must be signed in to change notification settings

denmitchell/JsonUtils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

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

No packages published

Languages