public interface JSONComparator
Modifier and Type | Method and Description |
---|---|
JSONCompareResult |
compareJSON(org.json.JSONArray expected,
org.json.JSONArray actual) |
JSONCompareResult |
compareJSON(org.json.JSONObject expected,
org.json.JSONObject actual) |
void |
compareJSON(String prefix,
org.json.JSONObject expected,
org.json.JSONObject actual,
JSONCompareResult result) |
void |
compareJSONArray(String prefix,
org.json.JSONArray expected,
org.json.JSONArray actual,
JSONCompareResult result) |
void |
compareValues(String prefix,
Object expectedValue,
Object actualValue,
JSONCompareResult result) |
JSONCompareResult compareJSON(org.json.JSONObject expected, org.json.JSONObject actual) throws org.json.JSONException
org.json.JSONException
JSONCompareResult compareJSON(org.json.JSONArray expected, org.json.JSONArray actual) throws org.json.JSONException
org.json.JSONException
void compareJSON(String prefix, org.json.JSONObject expected, org.json.JSONObject actual, JSONCompareResult result) throws org.json.JSONException
org.json.JSONException
void compareValues(String prefix, Object expectedValue, Object actualValue, JSONCompareResult result) throws org.json.JSONException
org.json.JSONException
void compareJSONArray(String prefix, org.json.JSONArray expected, org.json.JSONArray actual, JSONCompareResult result) throws org.json.JSONException
org.json.JSONException
Copyright © 2019. All rights reserved.