Package | Description |
---|---|
net.minidev.json | |
net.minidev.json.mapper | |
net.minidev.json.parser |
Modifier and Type | Method and Description |
---|---|
protected static <T> T |
JSONValue.parse(byte[] in,
AMapper<T> mapper)
Parse input json as a mapTo class
|
protected static <T> T |
JSONValue.parse(Reader in,
AMapper<T> mapper)
Parse input json as a mapTo class
|
protected static <T> T |
JSONValue.parse(String in,
AMapper<T> mapper)
Parse input json as a mapTo class
|
Constructor and Description |
---|
JSONNavi(AMapper<? super T> mapper) |
JSONNavi(String json,
AMapper<T> mapper) |
Modifier and Type | Class and Description |
---|---|
class |
ArraysMapper<T> |
static class |
ArraysMapper.GenericMapper<T> |
class |
BeansMapper<T> |
static class |
BeansMapper.Bean<T> |
static class |
BeansMapper.BeanNoConv<T> |
static class |
CollectionMapper.ListClass<T> |
static class |
CollectionMapper.ListType<T> |
static class |
CollectionMapper.MapClass<T> |
static class |
CollectionMapper.MapType<T> |
class |
CompessorMapper |
class |
DefaultMapper<T> |
class |
DefaultMapperCollection<T> |
class |
DefaultMapperOrdered |
class |
FakeMapper |
class |
UpdaterMapper<T> |
Modifier and Type | Field and Description |
---|---|
static AMapper<JSONAwareEx> |
DefaultMapper.DEFAULT |
static AMapper<Object> |
FakeMapper.DEFAULT |
static AMapper<JSONAwareEx> |
DefaultMapperOrdered.DEFAULT |
static AMapper<Boolean[]> |
ArraysMapper.MAPPER_BOOL |
static AMapper<Byte[]> |
ArraysMapper.MAPPER_BYTE |
static AMapper<Character[]> |
ArraysMapper.MAPPER_CHAR |
static AMapper<Date> |
BeansMapper.MAPPER_DATE |
static AMapper<Double[]> |
ArraysMapper.MAPPER_DOUBLE |
static AMapper<Float[]> |
ArraysMapper.MAPPER_FLOAT |
static AMapper<Integer[]> |
ArraysMapper.MAPPER_INT |
static AMapper<Long[]> |
ArraysMapper.MAPPER_LONG |
static AMapper<boolean[]> |
ArraysMapper.MAPPER_PRIM_BOOL |
static AMapper<byte[]> |
ArraysMapper.MAPPER_PRIM_BYTE |
static AMapper<char[]> |
ArraysMapper.MAPPER_PRIM_CHAR |
static AMapper<double[]> |
ArraysMapper.MAPPER_PRIM_DOUBLE |
static AMapper<float[]> |
ArraysMapper.MAPPER_PRIM_FLOAT |
static AMapper<int[]> |
ArraysMapper.MAPPER_PRIM_INT |
static AMapper<long[]> |
ArraysMapper.MAPPER_PRIM_LONG |
static AMapper<short[]> |
ArraysMapper.MAPPER_PRIM_SHORT |
static AMapper<Short[]> |
ArraysMapper.MAPPER_SHORT |
Modifier and Type | Method and Description |
---|---|
static <T> AMapper<T> |
Mapper.getMapper(Class<T> type) |
static <T> AMapper<T> |
Mapper.getMapper(ParameterizedType type) |
static <T> AMapper<T> |
Mapper.getMapper(Type type) |
AMapper<JSONAwareEx> |
DefaultMapper.startArray(String key) |
AMapper<?> |
AMapper.startArray(String key)
called when json-smart parser start an array.
|
AMapper<?> |
FakeMapper.startArray(String key) |
AMapper<?> |
BeansMapper.Bean.startArray(String key) |
AMapper<?> |
BeansMapper.BeanNoConv.startArray(String key) |
AMapper<?> |
ArraysMapper.GenericMapper.startArray(String key) |
AMapper<T> |
DefaultMapperCollection.startArray(String key) |
AMapper<JSONAwareEx> |
DefaultMapperOrdered.startArray(String key) |
AMapper<?> |
CompessorMapper.startArray(String key) |
AMapper<?> |
UpdaterMapper.startArray(String key)
called when json-smart parser start an array.
|
AMapper<?> |
CollectionMapper.MapType.startArray(String key) |
AMapper<?> |
CollectionMapper.MapClass.startArray(String key) |
AMapper<?> |
CollectionMapper.ListType.startArray(String key) |
AMapper<?> |
CollectionMapper.ListClass.startArray(String key) |
AMapper<JSONAwareEx> |
DefaultMapper.startObject(String key) |
AMapper<?> |
AMapper.startObject(String key)
called when json-smart parser meet an object key
|
AMapper<?> |
FakeMapper.startObject(String key) |
AMapper<?> |
BeansMapper.Bean.startObject(String key) |
AMapper<?> |
BeansMapper.BeanNoConv.startObject(String key) |
AMapper<?> |
ArraysMapper.GenericMapper.startObject(String key) |
AMapper<T> |
DefaultMapperCollection.startObject(String key) |
AMapper<JSONAwareEx> |
DefaultMapperOrdered.startObject(String key) |
AMapper<?> |
CompessorMapper.startObject(String key) |
AMapper<?> |
UpdaterMapper.startObject(String key)
called when json-smart parser meet an object key
|
AMapper<?> |
CollectionMapper.MapType.startObject(String key) |
AMapper<?> |
CollectionMapper.MapClass.startObject(String key) |
AMapper<?> |
CollectionMapper.ListType.startObject(String key) |
AMapper<?> |
CollectionMapper.ListClass.startObject(String key) |
Modifier and Type | Method and Description |
---|---|
static <T> void |
Mapper.register(Class<T> type,
AMapper<T> mapper) |
Modifier and Type | Method and Description |
---|---|
<T> T |
JSONParser.parse(byte[] in,
AMapper<T> mapper)
use to return Primitive Type, or String, Or JsonObject or JsonArray
generated by a ContainerFactory
|
<T> T |
JSONParser.parse(InputStream in,
AMapper<T> mapper)
use to return Primitive Type, or String, Or JsonObject or JsonArray
generated by a ContainerFactory
|
<T> T |
JSONParser.parse(Reader in,
AMapper<T> mapper)
use to return Primitive Type, or String, Or JsonObject or JsonArray
generated by a ContainerFactory
|
<T> T |
JSONParser.parse(String in,
AMapper<T> mapper)
use to return Primitive Type, or String, Or JsonObject or JsonArray
generated by a ContainerFactory
|
Copyright © 2013 Chemouni Uriel. All Rights Reserved.