public class JsonObjectListener extends JSONBaseListener
限定符和类型 | 字段和说明 |
---|---|
protected org.antlr.v4.runtime.tree.ParseTreeProperty<JsonArray> |
jsonArrayParseTreeProperty |
protected org.antlr.v4.runtime.tree.ParseTreeProperty<JsonObject> |
jsonObjectParseTreeProperty |
protected org.antlr.v4.runtime.tree.ParseTreeProperty<java.lang.Object> |
property |
构造器和说明 |
---|
JsonObjectListener(DeserializeFeature feature) |
限定符和类型 | 方法和说明 |
---|---|
void |
enterArray(JSONParser.ArrayContext ctx)
Enter a parse tree produced by
JSONParser.array() . |
void |
enterJsonArray(JSONParser.JsonArrayContext ctx)
Enter a parse tree produced by the
JsonArray
labeled alternative in JSONParser.json() . |
void |
enterObject(JSONParser.ObjectContext ctx)
Enter a parse tree produced by
JSONParser.object() . |
void |
exitArray(JSONParser.ArrayContext ctx)
Exit a parse tree produced by
JSONParser.array() . |
void |
exitArrayValue(JSONParser.ArrayValueContext ctx)
Exit a parse tree produced by the
ArrayValue
labeled alternative in JSONParser.value() . |
void |
exitBOOLEANFALSE(JSONParser.BOOLEANFALSEContext ctx)
Exit a parse tree produced by the
BOOLEANFALSE
labeled alternative in JSONParser.value() . |
void |
exitBOOLEANTRUE(JSONParser.BOOLEANTRUEContext ctx)
Exit a parse tree produced by the
BOOLEANTRUE
labeled alternative in JSONParser.value() . |
void |
exitJsonObject(JSONParser.JsonObjectContext ctx)
Exit a parse tree produced by the
JsonObject
labeled alternative in JSONParser.json() . |
void |
exitNULL(JSONParser.NULLContext ctx)
Exit a parse tree produced by the
NULL
labeled alternative in JSONParser.value() . |
void |
exitNUMBER(JSONParser.NUMBERContext ctx)
Exit a parse tree produced by the
NUMBER
labeled alternative in JSONParser.value() . |
void |
exitObjectValue(JSONParser.ObjectValueContext ctx)
Exit a parse tree produced by the
ObjectValue
labeled alternative in JSONParser.value() . |
void |
exitPair(JSONParser.PairContext ctx)
Exit a parse tree produced by
JSONParser.pair() . |
void |
exitString(JSONParser.StringContext ctx)
Exit a parse tree produced by the
String
labeled alternative in JSONParser.value() . |
JsonObject |
getJsonObject() |
protected org.antlr.v4.runtime.tree.ParseTreeProperty<java.lang.Object> property
protected org.antlr.v4.runtime.tree.ParseTreeProperty<JsonObject> jsonObjectParseTreeProperty
protected org.antlr.v4.runtime.tree.ParseTreeProperty<JsonArray> jsonArrayParseTreeProperty
public JsonObjectListener(DeserializeFeature feature)
public void enterJsonArray(JSONParser.JsonArrayContext ctx)
JSONBaseListener
JsonArray
labeled alternative in JSONParser.json()
.
The default implementation does nothing.
enterJsonArray
在接口中 JSONListener
enterJsonArray
在类中 JSONBaseListener
ctx
- the parse treepublic JsonObject getJsonObject()
public void exitJsonObject(JSONParser.JsonObjectContext ctx)
JSONBaseListener
JsonObject
labeled alternative in JSONParser.json()
.
The default implementation does nothing.
exitJsonObject
在接口中 JSONListener
exitJsonObject
在类中 JSONBaseListener
ctx
- the parse treepublic void enterObject(JSONParser.ObjectContext ctx)
JSONBaseListener
JSONParser.object()
.
The default implementation does nothing.
enterObject
在接口中 JSONListener
enterObject
在类中 JSONBaseListener
ctx
- the parse treepublic void enterArray(JSONParser.ArrayContext ctx)
JSONBaseListener
JSONParser.array()
.
The default implementation does nothing.
enterArray
在接口中 JSONListener
enterArray
在类中 JSONBaseListener
ctx
- the parse treepublic void exitPair(JSONParser.PairContext ctx)
JSONBaseListener
JSONParser.pair()
.
The default implementation does nothing.
exitPair
在接口中 JSONListener
exitPair
在类中 JSONBaseListener
ctx
- the parse treepublic void exitString(JSONParser.StringContext ctx)
JSONBaseListener
String
labeled alternative in JSONParser.value()
.
The default implementation does nothing.
exitString
在接口中 JSONListener
exitString
在类中 JSONBaseListener
ctx
- the parse treepublic void exitNUMBER(JSONParser.NUMBERContext ctx)
JSONBaseListener
NUMBER
labeled alternative in JSONParser.value()
.
The default implementation does nothing.
exitNUMBER
在接口中 JSONListener
exitNUMBER
在类中 JSONBaseListener
ctx
- the parse treepublic void exitArray(JSONParser.ArrayContext ctx)
JSONBaseListener
JSONParser.array()
.
The default implementation does nothing.
exitArray
在接口中 JSONListener
exitArray
在类中 JSONBaseListener
ctx
- the parse treepublic void exitObjectValue(JSONParser.ObjectValueContext ctx)
JSONBaseListener
ObjectValue
labeled alternative in JSONParser.value()
.
The default implementation does nothing.
exitObjectValue
在接口中 JSONListener
exitObjectValue
在类中 JSONBaseListener
ctx
- the parse treepublic void exitArrayValue(JSONParser.ArrayValueContext ctx)
JSONBaseListener
ArrayValue
labeled alternative in JSONParser.value()
.
The default implementation does nothing.
exitArrayValue
在接口中 JSONListener
exitArrayValue
在类中 JSONBaseListener
ctx
- the parse treepublic void exitBOOLEANTRUE(JSONParser.BOOLEANTRUEContext ctx)
JSONBaseListener
BOOLEANTRUE
labeled alternative in JSONParser.value()
.
The default implementation does nothing.
exitBOOLEANTRUE
在接口中 JSONListener
exitBOOLEANTRUE
在类中 JSONBaseListener
ctx
- the parse treepublic void exitBOOLEANFALSE(JSONParser.BOOLEANFALSEContext ctx)
JSONBaseListener
BOOLEANFALSE
labeled alternative in JSONParser.value()
.
The default implementation does nothing.
exitBOOLEANFALSE
在接口中 JSONListener
exitBOOLEANFALSE
在类中 JSONBaseListener
ctx
- the parse treepublic void exitNULL(JSONParser.NULLContext ctx)
JSONBaseListener
NULL
labeled alternative in JSONParser.value()
.
The default implementation does nothing.
exitNULL
在接口中 JSONListener
exitNULL
在类中 JSONBaseListener
ctx
- the parse treeCopyright © 2016. All Rights Reserved.