| 程序包 | 说明 |
|---|---|
| com.alibaba.dubbo.common.json |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
JSONVisitor.arrayBegin()
array begin.
|
Object |
JSONVisitor.arrayEnd(int count)
array end, return array value.
|
void |
JSONVisitor.arrayItem(int index)
array item.
|
void |
JSONVisitor.arrayItemValue(int index,
Object obj,
boolean isValue)
array item.
|
Object |
JSONVisitor.end(Object obj,
boolean isValue)
parse end.
|
JSONToken |
JSONReader.nextToken() |
JSONToken |
JSONReader.nextToken(int expect) |
void |
JSONVisitor.objectBegin()
object begin.
|
Object |
JSONVisitor.objectEnd(int count)
object end, return object value.
|
void |
JSONVisitor.objectItem(String name)
object property name.
|
void |
JSONVisitor.objectItemValue(Object obj,
boolean isValue)
object property value.
|
static Object |
JSON.parse(Reader reader)
parse json.
|
static Object[] |
JSON.parse(Reader reader,
Class<?>[] types)
parse json.
|
static <T> T |
JSON.parse(Reader reader,
Class<T> type)
parse json
|
static Object |
JSON.parse(Reader reader,
JSONVisitor handler)
parse json.
|
static Object |
JSON.parse(String json)
parse json.
|
static Object[] |
JSON.parse(String json,
Class<?>[] types)
parse json.
|
static <T> T |
JSON.parse(String json,
Class<T> type)
parse json.
|
static Object |
JSON.parse(String json,
JSONVisitor handler)
parse json.
|
JSONToken |
Yylex.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Copyright © 2012–2017 Alibaba. All rights reserved.