com.alibaba.dubbo.common.json
Class JSONReader

java.lang.Object
  extended by com.alibaba.dubbo.common.json.JSONReader

public class JSONReader
extends Object

JSON reader.

Author:
qian.lei

Constructor Summary
JSONReader(InputStream is, String charset)
           
JSONReader(Reader reader)
           
 
Method Summary
 JSONToken nextToken()
           
 JSONToken nextToken(int expect)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONReader

public JSONReader(InputStream is,
                  String charset)
           throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

JSONReader

public JSONReader(Reader reader)
Method Detail

nextToken

public JSONToken nextToken()
                    throws IOException,
                           ParseException
Throws:
IOException
ParseException

nextToken

public JSONToken nextToken(int expect)
                    throws IOException,
                           ParseException
Throws:
IOException
ParseException


Copyright © 2012–2017 Alibaba. All rights reserved.