public class JSONUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static net.sf.json.JSONObject |
merge(net.sf.json.JSONObject defaultObj,
net.sf.json.JSONObject overrides)
Merges the two JSON objects.
|
public static net.sf.json.JSONObject merge(net.sf.json.JSONObject defaultObj,
net.sf.json.JSONObject overrides)
defaultObj - The original object.overrides - The object used for overriding. If both objects have the same
key, this object's value is used.Copyright © 2018. All rights reserved.