[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Class for comparing JSON data structures
Source position: jsoncomparer.pp line 34
type TJSONComparer = class(TObject) |
||
public |
||
constructor create(); |
|
Creates a new JSON comparer instance |
procedure Compare(); |
|
Compares two JSON data structures |
property Epsilon: Double; [rw] |
|
Floating-point comparison tolerance |
end; |
|
Class for comparing JSON data structures |
|
| | | ||
TJSONComparer provides functionality for deep comparison of JSON data structures. The class can compare JSON objects, arrays, and primitive values (null, boolean, number, string). Differences are reported with path information indicating the exact location of discrepancies. Floating-point numbers are compared using the configurable Epsilon tolerance value. Comparison errors are collected in a TStrings object provided during construction.
|
Creates a new JSON comparer instance |
|
|
Compares two JSON data structures |
|
|
Floating-point comparison tolerance |