org.skyscreamer.jsonassert
Class JSONCompare

java.lang.Object
  extended by org.skyscreamer.jsonassert.JSONCompare

public class JSONCompare
extends Object

Created by IntelliJ IDEA. User: Carter Page Date: 2/4/12 Time: 12:14 PM


Constructor Summary
JSONCompare()
           
 
Method Summary
static JSONCompareResult compareJSON(org.json.JSONArray expected, org.json.JSONArray actual, boolean strict)
           
static JSONCompareResult compareJSON(org.json.JSONObject expected, org.json.JSONObject actual, boolean strict)
           
static JSONCompareResult compareJSON(String expectedStr, String actualStr, boolean strict)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONCompare

public JSONCompare()
Method Detail

compareJSON

public static JSONCompareResult compareJSON(String expectedStr,
                                            String actualStr,
                                            boolean strict)
                                     throws org.json.JSONException
Throws:
org.json.JSONException

compareJSON

public static JSONCompareResult compareJSON(org.json.JSONObject expected,
                                            org.json.JSONObject actual,
                                            boolean strict)
                                     throws org.json.JSONException
Throws:
org.json.JSONException

compareJSON

public static JSONCompareResult compareJSON(org.json.JSONArray expected,
                                            org.json.JSONArray actual,
                                            boolean strict)
                                     throws org.json.JSONException
Throws:
org.json.JSONException


Copyright © 2012. All Rights Reserved.