@Deprecated public interface JSONVisitor
| Modifier and Type | Field and Description |
|---|---|
static String |
CLASS_PROPERTY
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
arrayBegin()
Deprecated.
array begin.
|
Object |
arrayEnd(int count)
Deprecated.
array end, return array value.
|
void |
arrayItem(int index)
Deprecated.
array item.
|
void |
arrayItemValue(int index,
Object obj,
boolean isValue)
Deprecated.
array item.
|
void |
begin()
Deprecated.
parse begin .
|
Object |
end(Object obj,
boolean isValue)
Deprecated.
parse end.
|
void |
objectBegin()
Deprecated.
object begin.
|
Object |
objectEnd(int count)
Deprecated.
object end, return object value.
|
void |
objectItem(String name)
Deprecated.
object property name.
|
void |
objectItemValue(Object obj,
boolean isValue)
Deprecated.
object property value.
|
static final String CLASS_PROPERTY
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–2022 The Apache Software Foundation. All rights reserved.