Description

JSONEq asserts that two JSON strings are equivalent.

assert.JSONEq(t, `{"hello": "world", "foo": "bar"}`, `{"foo": "bar", "hello": "world"}`)

Returns whether the assertion was successful (true) or not (false).

JSONEq is referenced in 18 repositories

github.com/stretchr/testify github.com/gonfire/jsonapi github.com/cloudflare/cloudflare-go

...