| Package | Description |
|---|---|
| foodev.jsondiff.jsonwrap | |
| foodev.jsondiff.jsonwrap.gson | |
| foodev.jsondiff.jsonwrap.jackson | |
| foodev.jsondiff.jsonwrap.jackson2 |
| Modifier and Type | Interface and Description |
|---|---|
interface |
JzonArray
Common abstaraction for a json array.
|
interface |
JzonNull
Common abstraction for json null.
|
interface |
JzonObject
Common abstraction for json objects.
|
interface |
JzonPrimitive
Common abstraction for json primitive values.
|
| Modifier and Type | Method and Description |
|---|---|
JzonElement |
JzonArray.get(int index)
Returns element at given index.
|
JzonElement |
JzonObject.get(String key)
Returns element at given key.
|
JzonElement |
Wrapper.parse(String json)
Parses an element given a string.
|
JzonElement |
Wrapper.wrap(Object o)
Wraps a given json element.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends Map.Entry<String,JzonElement>> |
JzonObject.entrySet() |
| Modifier and Type | Method and Description |
|---|---|
void |
JzonObject.add(String key,
JzonElement prop)
Adds an element with the given key.
|
void |
JzonArray.insert(int index,
JzonElement el)
Inserts element at given index.
|
void |
JzonArray.set(int index,
JzonElement el)
Sets element at given index.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GsonJsonArray |
class |
GsonJsonElement |
class |
GsonJsonNull |
class |
GsonJsonObject |
class |
GsonJsonPrimitive |
| Modifier and Type | Method and Description |
|---|---|
JzonElement |
GsonJsonArray.get(int index) |
JzonElement |
GsonJsonObject.get(String key) |
JzonElement |
GsonWrapper.parse(String json) |
static JzonElement |
GsonWrapper.wrap(com.google.gson.JsonElement el) |
JzonElement |
GsonWrapper.wrap(Object o) |
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends Map.Entry<String,JzonElement>> |
GsonJsonObject.entrySet() |
| Modifier and Type | Method and Description |
|---|---|
void |
GsonJsonObject.add(String key,
JzonElement prop) |
void |
GsonJsonArray.insert(int index,
JzonElement el) |
void |
GsonJsonArray.set(int index,
JzonElement el) |
| Modifier and Type | Class and Description |
|---|---|
class |
JacksonJsonArray |
class |
JacksonJsonElement |
class |
JacksonJsonNull |
class |
JacksonJsonObject |
class |
JacksonJsonPrimitive |
| Modifier and Type | Method and Description |
|---|---|
JzonElement |
JacksonJsonArray.get(int index) |
JzonElement |
JacksonJsonObject.get(String key) |
JzonElement |
JacksonWrapper.parse(String json) |
static JzonElement |
JacksonWrapper.wrap(org.codehaus.jackson.JsonNode el) |
JzonElement |
JacksonWrapper.wrap(Object o) |
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends Map.Entry<String,JzonElement>> |
JacksonJsonObject.entrySet() |
| Modifier and Type | Method and Description |
|---|---|
void |
JacksonJsonObject.add(String key,
JzonElement prop) |
void |
JacksonJsonArray.insert(int index,
JzonElement el) |
void |
JacksonJsonArray.set(int index,
JzonElement el) |
| Modifier and Type | Class and Description |
|---|---|
class |
Jackson2JsonArray |
class |
Jackson2JsonElement |
class |
Jackson2JsonNull |
class |
Jackson2JsonObject |
class |
Jackson2JsonPrimitive |
| Modifier and Type | Method and Description |
|---|---|
JzonElement |
Jackson2JsonArray.get(int index) |
JzonElement |
Jackson2JsonObject.get(String key) |
JzonElement |
Jackson2Wrapper.parse(String json) |
static JzonElement |
Jackson2Wrapper.wrap(com.fasterxml.jackson.databind.JsonNode el) |
JzonElement |
Jackson2Wrapper.wrap(Object o) |
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends Map.Entry<String,JzonElement>> |
Jackson2JsonObject.entrySet() |
| Modifier and Type | Method and Description |
|---|---|
void |
Jackson2JsonObject.add(String key,
JzonElement prop) |
void |
Jackson2JsonArray.insert(int index,
JzonElement el) |
void |
Jackson2JsonArray.set(int index,
JzonElement el) |
Copyright © 2015. All Rights Reserved.