@Deprecated public interface JSONVisitor
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
CLASS_PROPERTY
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
arrayBegin()
已过时。
array begin.
|
Object |
arrayEnd(int count)
已过时。
array end, return array value.
|
void |
arrayItem(int index)
已过时。
array item.
|
void |
arrayItemValue(int index,
Object obj,
boolean isValue)
已过时。
array item.
|
void |
begin()
已过时。
parse begin .
|
Object |
end(Object obj,
boolean isValue)
已过时。
parse end.
|
void |
objectBegin()
已过时。
object begin.
|
Object |
objectEnd(int count)
已过时。
object end, return object value.
|
void |
objectItem(String name)
已过时。
object property name.
|
void |
objectItemValue(Object obj,
boolean isValue)
已过时。
object property value.
|
void begin()
Object end(Object obj, boolean isValue) throws ParseException
obj - root obj.isValue - is json value.ParseExceptionvoid objectBegin()
throws ParseException
ParseExceptionObject objectEnd(int count) throws ParseException
count - property count.ParseExceptionvoid objectItem(String name) throws ParseException
name - name.ParseExceptionvoid objectItemValue(Object obj, boolean isValue) throws ParseException
obj - obj.isValue - is json value.ParseExceptionvoid arrayBegin()
throws ParseException
ParseExceptionObject arrayEnd(int count) throws ParseException
count - count.ParseExceptionvoid arrayItem(int index)
throws ParseException
index - index.ParseExceptionvoid arrayItemValue(int index,
Object obj,
boolean isValue)
throws ParseException
index - index.obj - item.isValue - is json value.ParseExceptionCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.