jsoneq

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package jsoneq compares JSON documents semantically for golden tests.

Object key order is ignored, numbers compare by value, and an object member that is null, {} or [] is treated as absent: the protocol examples show empty containers that the typed structs omit.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

func Equal(a, b []byte) (bool, string)

Equal reports whether a and b hold the same JSON value after normalisation. When they differ it returns a description of the first difference.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL