public class CustomComparator extends DefaultComparator
Constructor and Description |
---|
CustomComparator(JSONCompareMode mode,
Customization... customizations) |
Modifier and Type | Method and Description |
---|---|
void |
compareValues(String prefix,
Object expectedValue,
Object actualValue,
JSONCompareResult result) |
compareJSON, compareJSONArray
checkJsonObjectKeysActualInExpected, checkJsonObjectKeysExpectedInActual, compareJSON, compareJSON, compareJSONArrayOfJsonObjects, compareJSONArrayOfSimpleValues, compareJSONArrayWithStrictOrder, recursivelyCompareJSONArray
public CustomComparator(JSONCompareMode mode, Customization... customizations)
public void compareValues(String prefix, Object expectedValue, Object actualValue, JSONCompareResult result) throws org.json.JSONException
compareValues
in interface JSONComparator
compareValues
in class DefaultComparator
org.json.JSONException
Copyright © 2019. All rights reserved.