Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSONCompare ¶
JSONCompare compares two JSON byte slices for semantic equality. It considers: - Maps: all keys must exist and values must match recursively - Slices: all elements from 'want' must exist in 'have' (order independent) - Primitive types: strict equality comparison
Returns:
- eq: true if the JSON structures are semantically equal
- err: error describing the first difference found, nil if equal
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.