Class Diff
java.lang.Object
net.javacrumbs.jsonunit.core.internal.Diff
Compares JSON structures. Mainly for internal use, the API might be more volatile than the rest.
- Author:
- Lukas Krecan
-
Method Summary
Modifier and TypeMethodDescriptionstatic Diffcreate(@Nullable Object expected, @Nullable Object actual, String actualName, String path, Configuration configuration) static Diffcreate(@Nullable Object expected, @Nullable Object actual, String actualName, Path path, Configuration configuration) static DiffcreateInternal(@Nullable Object expected, @Nullable Object actual, String actualName, Path path, Configuration configuration, String differenceString) voidvoidfailIfDifferent(@Nullable String message) static @Nullable ObjectquoteTextValue(@Nullable Object value) If the value is String than it's quoted in ".booleansimilar()toString()
-
Method Details
-
create
-
create
-
createInternal
-
quoteTextValue
-
similar
public boolean similar() -
toString
-
differences
-
failIfDifferent
public void failIfDifferent() -
failIfDifferent
-