Computes the diff for two snippets of json both of expected type T.
Computes the diff for two snippets of json both of expected type T. If a difference is detected a Some(JsonDiffResult) is returned.
- the received json
- the expected json
- Optional normalizer
if a difference is detected a Some(JsonDiffResult
)
is returned otherwise a None.
Creates a string representation of the given JsonNode
with entries
sorted alphabetically by key.
Creates a string representation of the given JsonNode
with entries
sorted alphabetically by key.
- input JsonNode
string representation of the JsonNode.