public class JSONStreamDecoder extends Object
Constructor and Description |
---|
JSONStreamDecoder(InputStream inStream)
Decodes the JSON payload by reading from the given stream of UTF-8 encoded
characters.
|
public JSONStreamDecoder(InputStream inStream)
inStream
- The input stream to read from. It must contain character data
encoded as UTF-8, and it must be positioned to read from the start
of the JSON message to be parsed.public static EJValue decode(InputStream instream) throws IOException
IOException
public char read() throws IOException
IOException
public EJValue parse()
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.