Package net.minidev.json.writer
Class FakeMapper
-
Field Summary
FieldsFields inherited from class net.minidev.json.writer.JsonReaderI
base
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add a value in an array json object.use to instantiate a new object that will be used as an arrayuse to instantiate a new object that will be used as an objectvoid
called 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 keyMethods inherited from class net.minidev.json.writer.JsonReaderI
convert, getType, getValue
-
Field Details
-
DEFAULT
-
-
Constructor Details
-
FakeMapper
private FakeMapper()
-
-
Method Details
-
startObject
Description copied from class:JsonReaderI
called when json-smart parser meet an object key- Overrides:
startObject
in classJsonReaderI<Object>
-
startArray
Description copied from class:JsonReaderI
called when json-smart parser start an array.- Overrides:
startArray
in classJsonReaderI<Object>
- Parameters:
key
- the destination key name, or null.
-
setValue
Description copied from class:JsonReaderI
called when json-smart done parsing a value- Overrides:
setValue
in classJsonReaderI<Object>
-
addValue
Description copied from class:JsonReaderI
add a value in an array json object.- Overrides:
addValue
in classJsonReaderI<Object>
-
createObject
Description copied from class:JsonReaderI
use to instantiate a new object that will be used as an object- Overrides:
createObject
in classJsonReaderI<Object>
-
createArray
Description copied from class:JsonReaderI
use to instantiate a new object that will be used as an array- Overrides:
createArray
in classJsonReaderI<Object>
-