Class JsonReaderI<T>
java.lang.Object
net.minidev.json.writer.JsonReaderI<T>
- Type Parameters:
T-
- Direct Known Subclasses:
ArraysMapper, BeansMapper, BeansMapper.Bean, BeansMapper.BeanNoConv, CollectionMapper.ListClass, CollectionMapper.ListType, CollectionMapper.MapClass, CollectionMapper.MapType, CompessorMapper, DefaultMapper, DefaultMapperCollection, DefaultMapperOrdered, FakeMapper, MapperRemapped, UpdaterMapper
Default datatype mapper use by Json-smart ton store data.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd a value in an array json object.Allow a mapper to converte a temprary structure to the final data format.use to instantiate a new object that will be used as an arrayuse to instantiate a new object that will be used as an object-------------voidcalled when json-smart done parsing a valueJsonReaderI<?> startArray(String key) called when json-smart parser start an array.JsonReaderI<?> startObject(String key) called when json-smart parser meet an object key
-
Field Details
-
base
-
ERR_MSG
-
-
Constructor Details
-
JsonReaderI
-
-
Method Details
-
startObject
called when json-smart parser meet an object key- Throws:
ParseExceptionIOException
-
startArray
called when json-smart parser start an array.- Parameters:
key- the destination key name, or null.- Throws:
ParseExceptionIOException
-
setValue
called when json-smart done parsing a value- Throws:
ParseExceptionIOException
-
getValue
-
getType
-
addValue
add a value in an array json object.- Throws:
ParseExceptionIOException
-
createObject
use to instantiate a new object that will be used as an object -
createArray
use to instantiate a new object that will be used as an array -
convert
-