Revision 2401 org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.util/org.gvsig.tools.util.api/src/main/java/org/gvsig/json/JsonManager.java
JsonManager.java | ||
---|---|---|
44 | 44 |
|
45 | 45 |
public JsonArray createArray(String json); |
46 | 46 |
|
47 |
public String toString(JsonObject obj); |
|
48 |
|
|
49 |
public String toString(JsonArray array); |
|
50 |
|
|
51 |
public String toString(JsonStructure obj); |
|
47 |
public String toString(JsonValue obj); |
|
52 | 48 |
|
53 | 49 |
public Object toObject(JsonValue value); |
54 | 50 |
|
55 |
public Object toObject(String name, JsonObject json);
|
|
51 |
public Object toObjectOrDefault(JsonValue value, Object defaultValue);
|
|
56 | 52 |
|
57 |
public Object toObject(int index, JsonArray json); |
|
53 |
public Object toObject(JsonObject json, String name); |
|
54 |
|
|
55 |
public Object toObject(JsonArray json, int index); |
|
58 | 56 |
|
59 |
public Object toObject(JsonObject json); |
|
60 |
|
|
61 |
public Object toObject(JsonObject json, Object defaultValue); |
|
62 |
|
|
63 | 57 |
public Object[] toArray(JsonArray jsonArray, Object[]a); |
64 | 58 |
|
65 | 59 |
public Iterable<Object> toIterable(final JsonArray jsonArray); |
... | ... | |
68 | 62 |
|
69 | 63 |
public DynObject addAll(DynObject target, JsonObject json); |
70 | 64 |
|
71 |
public Map toHashMap(JsonObject json);
|
|
65 |
public Map toMap(JsonObject json); |
|
72 | 66 |
|
73 | 67 |
public JsonPathContext createJSonPathContext(JsonStructure jsonObject); |
74 | 68 |
|
Also available in: Unified diff