com.fasterxml.jackson.jr.ob.impl
Class ValueReader

java.lang.Object
  extended by com.fasterxml.jackson.jr.ob.impl.ValueReader
Direct Known Subclasses:
AnyReader, ArrayReader, BeanDefinition, CollectionReader, EnumReader, JSONReader, MapReader, SimpleValueReader

public abstract class ValueReader
extends Object

Helper class used when reading values of complex types other than Beans.

Note that ugly "chameleon" style operation here is used to avoid creating multiple separate classes, which in turn is done to minimize size of resulting jars.


Constructor Summary
ValueReader()
           
 
Method Summary
protected  String _tokenDesc(JsonParser p)
           
protected static String _tokenDesc(JsonParser p, JsonToken t)
           
abstract  Object read(JSONReader reader, JsonParser p)
           
abstract  Object readNext(JSONReader reader, JsonParser p)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueReader

public ValueReader()
Method Detail

read

public abstract Object read(JSONReader reader,
                            JsonParser p)
                     throws IOException
Throws:
IOException

readNext

public abstract Object readNext(JSONReader reader,
                                JsonParser p)
                         throws IOException
Throws:
IOException

_tokenDesc

protected String _tokenDesc(JsonParser p)
                     throws IOException
Throws:
IOException

_tokenDesc

protected static String _tokenDesc(JsonParser p,
                                   JsonToken t)
                            throws IOException
Throws:
IOException


Copyright © 2016 FasterXML. All rights reserved.