org.msgpack.util.json
Class JSONUnpacker

java.lang.Object
  extended by org.msgpack.unpacker.AbstractUnpacker
      extended by org.msgpack.unpacker.Converter
          extended by org.msgpack.util.json.JSONUnpacker
All Implemented Interfaces:
Closeable, Iterable<Value>, Unpacker
Direct Known Subclasses:
JSONBufferUnpacker

public class JSONUnpacker
extends Converter


Field Summary
protected  Reader in
           
 
Fields inherited from class org.msgpack.unpacker.Converter
value
 
Fields inherited from class org.msgpack.unpacker.AbstractUnpacker
msgpack
 
Constructor Summary
JSONUnpacker(InputStream in)
           
JSONUnpacker(MessagePack msgpack, InputStream in)
           
 
Method Summary
 void close()
           
protected  Value nextValue()
           
 
Methods inherited from class org.msgpack.unpacker.Converter
readArrayBegin, readArrayEnd, readBigInteger, readBoolean, readByte, readByteArray, readDouble, readFloat, readInt, readLong, readMapBegin, readMapEnd, readNil, readShort, readString, readValue, readValue, reset, skip, tryReadNil, trySkipNil
 
Methods inherited from class org.msgpack.unpacker.AbstractUnpacker
iterator, read, read, read, read, readArrayEnd, readByteBuffer, readMapEnd
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

in

protected Reader in
Constructor Detail

JSONUnpacker

public JSONUnpacker(InputStream in)

JSONUnpacker

public JSONUnpacker(MessagePack msgpack,
                    InputStream in)
Method Detail

nextValue

protected Value nextValue()
                   throws IOException
Overrides:
nextValue in class Converter
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Overrides:
close in class Converter
Throws:
IOException


Copyright © 2011. All Rights Reserved.