JsonValueComparer
Namespace: SnowBank.Data.Json · class
Comparer for JsonValue instances
Remarks
This comparer uses the "equivalent values" semantic
Fields
Default
static readonly JsonValueDefaultComparer Default
Comparer that checks if two JsonValue instances are equivalent, meaning that they would both deserialize to the same or equivalent value
For example, the JSON string "123" is equivalent to the JSON number 123 since both would return "123" when converted to string, or 123 when converted to Int32.
Strict
static readonly JsonValueStrictComparer Strict
Comparer that checks if two JsonValue instances are equivalent, meaning that they would both deserialize to the same or equivalent value
For example, the JSON string "123" is equivalent to the JSON number 123 since both would return "123" when converted to string, or 123 when converted to Int32.