Uses of Class
net.javacrumbs.jsonunit.assertj.JsonAssert
Packages that use JsonAssert
-
Uses of JsonAssert in net.javacrumbs.jsonunit.assertj
Subclasses of JsonAssert in net.javacrumbs.jsonunit.assertjModifier and TypeClassDescriptionstatic classJsonAssert that can be configured to prevent mistakes likeassertThatJson(...).isEqualsTo(...).when(...);Subclasses with type arguments of type JsonAssert in net.javacrumbs.jsonunit.assertjMethods in net.javacrumbs.jsonunit.assertj that return JsonAssertModifier and TypeMethodDescriptionJsonAssert.and(JsonAssertion... assertions) Allows to do multiple comparisons on a document likeassertThatJson("{\"test\":{\"a\":1, \"b\":2, \"c\":3}}").and( a -> a.node("test").isObject(), a -> a.node("test.b").isEqualTo(3) );Compares JSONs.JsonAssert.isNotNull()Asserts that given node is present and is not null.JsonAssert.isPresent()Asserts that given node is present.Moves comparison to given node.Moves comparison to given node.Methods in net.javacrumbs.jsonunit.assertj with parameters of type JsonAssert