Closed dionysius closed 1 week ago
Sorry for slow reply. Direct support would be too messy for this pkg; it'd delve too much into the realm of JSON. There's a possible workaround, though: https://github.com/go-test/deep/blob/v1.1.0/deep.go#L215-L217
Deep uses an Equal
method. Using that is the way to go because it'll shift the JSON-specific logic into some pkg or receive that knows about JSON.
might be tricky tho, since the actual type within there can be any json supported type