public class JsonMapper
extends java.lang.Object
| Constructor and Description |
|---|
JsonMapper() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
map(JsonArray jsonArray)
Maps a JsonArray to an ArrayList
|
static java.lang.Object |
map(de.qfs.lib.json.JsonLiteral json)
Maps a JsonLiteral to a Boolean or null
|
static java.lang.Object |
map(de.qfs.lib.json.JsonNumber json)
Maps a JsonNumber to a Long or Double
|
static java.lang.Object |
map(JsonObject jsonObject)
Maps a JsonObject to a LinkedHashMap
|
static java.lang.Object |
map(de.qfs.lib.json.JsonString json)
Maps a JsonString to a Java String
|
static java.lang.Object |
map(JsonValue json)
Maps a JsonValue to a corresponding Java Object
|
public static java.lang.Object map(JsonValue json)
json - the Json inputpublic static java.lang.Object map(de.qfs.lib.json.JsonNumber json)
json - the Json inputpublic static java.lang.Object map(de.qfs.lib.json.JsonString json)
json - the Json inputpublic static java.lang.Object map(de.qfs.lib.json.JsonLiteral json)
json - the Json inputpublic static java.lang.Object map(JsonArray jsonArray)
jsonArray - the Json inputpublic static java.lang.Object map(JsonObject jsonObject)
jsonObject - the Json input