Versions in this module Expand all Collapse all v0 v0.1.0 Sep 24, 2026 Changes in this version + type ArrayCompareMethod string + const ArrayCompareByIndex + const ArrayCompareLCS + const ArrayCompareUnordered + type CompareOptions struct + ArrayCompareMethod ArrayCompareMethod + KeyCaseInsensitive bool + NumericStringEqualsNumber bool + ValueCaseInsensitive bool + type DiffType string + const DiffTypeAdded + const DiffTypeDeleted + const DiffTypeTypeChanged + const DiffTypeValueChanged + type Difference struct + DiffType DiffType + PathBelongsTo PathBelongsTo + PathSegments []string + PathString string + func CompareJSON(base, contrast interface{}, options *CompareOptions) []Difference + type PathBelongsTo string + const PathBelongsToBase + const PathBelongsToBoth + const PathBelongsToContrast