|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JSONVisitor
JSONVisitor.
| Field Summary | |
|---|---|
static String |
CLASS_PROPERTY
|
| Method Summary | |
|---|---|
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. |
| Field Detail |
|---|
static final String CLASS_PROPERTY
| Method Detail |
|---|
void begin()
Object end(Object obj,
boolean isValue)
throws ParseException
obj - root obj.isValue - is json value.
ParseException
void objectBegin()
throws ParseException
ParseException
Object objectEnd(int count)
throws ParseException
count - property count.
ParseException
void objectItem(String name)
throws ParseException
name - name.
ParseException
void objectItemValue(Object obj,
boolean isValue)
throws ParseException
obj - obj.isValue - is json value.
ParseException
void arrayBegin()
throws ParseException
ParseException
Object arrayEnd(int count)
throws ParseException
count - count.
ParseException
void arrayItem(int index)
throws ParseException
index - index.
ParseException
void arrayItemValue(int index,
Object obj,
boolean isValue)
throws ParseException
index - index.obj - item.isValue - is json value.
ParseException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||