public static void assertEquals(JSONObject expected, JSONObject actual, boolean strict)
            throws JSONException {
        assertEquals(expected, actual, strict ? JSONCompareMode.STRICT : JSONCompareMode.LENIENT);
    }
public static void assertEquals ( JSONObject expected , JSONObject actual , boolean strict ) throws JSONException { assertEquals ( expected , actual , strict ? JSONCompareMode . STRICT : JSONCompareMode . LENIENT ) ; }
Asserts that the JSONObject provided matches the expected JSONObject.  If it isn't it throws an
{@link AssertionError}.

@param expected Expected JSONObject
@param actual JSONObject to compare
@param strict Enables strict checking
@throws JSONException JSON parsing error