| Modifier and Type | Field and Description |
|---|---|
static String |
NET_JANGAROO_EXT_CREATE |
| Constructor and Description |
|---|
JsonObject(Object... namesAndValues) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(JsonObject jsonObject) |
static void |
apply(JsonObject o1,
JsonObject o2) |
static Code |
code(String code) |
Object |
get(String property) |
String |
getWrapperClass() |
boolean |
isEmpty() |
static JsonObject |
merge(JsonObject... toMerge) |
Object |
remove(String property) |
void |
set(String property,
Object value) |
void |
settingConfigClass(String fullName) |
JsonObject |
settingWrapperClass(String wrapperClass) |
String |
toString() |
String |
toString(int indentFactor)
Make a pretty-printed JSON text of this JSONObject.
|
String |
toString(int indentFactor,
int indent)
Make a prettyprinted JSON text of this JSONObject.
|
static String |
valueToString(Object value,
int indentFactor,
int indent)
Make a prettyprinted JSON text of an object value.
|
public static final String NET_JANGAROO_EXT_CREATE
public JsonObject(Object... namesAndValues)
public static void apply(JsonObject o1, JsonObject o2)
public static JsonObject merge(JsonObject... toMerge)
public String getWrapperClass()
public JsonObject settingWrapperClass(String wrapperClass)
public boolean isEmpty()
public String toString(int indentFactor)
Warning: This method assumes that the data structure is acyclic.
indentFactor - The number of spaces to add to each level of
indentation.{ (left brace) and ending
with } (right brace).public static String valueToString(Object value, int indentFactor, int indent)
Warning: This method assumes that the data structure is acyclic.
value - The value to be serialized.indentFactor - The number of spaces to add to each level of
indentation.indent - The indentation of the top level.{ (left brace) and ending
with } (right brace).public String toString(int indentFactor, int indent)
Warning: This method assumes that the data structure is acyclical.
toString in interface JsonindentFactor - The number of spaces to add to each level of
indentation.indent - The indentation of the top level.{ (left brace) and ending
with } (right brace).public void add(JsonObject jsonObject)
public void settingConfigClass(String fullName)
Copyright © 2002–2016 CoreMedia AG. All rights reserved.