public abstract class JSONUtils extends Object
| Constructor and Description |
|---|
JSONUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isEqual(Object o1,
Object o2)
Determines whether two objects are equal, in a way that respects the isJSONObjectEqual() method
for JSONObjects.
|
static boolean |
isJSONObjectEqual(org.json.JSONObject o1,
org.json.JSONObject o2)
Determines whether two JSONObjects are "equal," where equality is determined in a key-order-independent
manner.
|
public static boolean isEqual(Object o1, Object o2)
o1 - The first object to compare.o2 - The second object to compare.public static boolean isJSONObjectEqual(org.json.JSONObject o1,
org.json.JSONObject o2)
o1 - o2 - Copyright © 2016 MuleSoft, Inc.. All rights reserved.