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)
JSONBaseListenerJsonArray
labeled alternative in JSONParser.json().
The default implementation does nothing.
enterJsonArray 在接口中 JSONListenerenterJsonArray 在类中 JSONBaseListenerctx - the parse treepublic JsonObject getJsonObject()
public void exitJsonObject(JSONParser.JsonObjectContext ctx)
JSONBaseListenerJsonObject
labeled alternative in JSONParser.json().
The default implementation does nothing.
exitJsonObject 在接口中 JSONListenerexitJsonObject 在类中 JSONBaseListenerctx - the parse treepublic void enterObject(JSONParser.ObjectContext ctx)
JSONBaseListenerJSONParser.object().
The default implementation does nothing.
enterObject 在接口中 JSONListenerenterObject 在类中 JSONBaseListenerctx - the parse treepublic void enterArray(JSONParser.ArrayContext ctx)
JSONBaseListenerJSONParser.array().
The default implementation does nothing.
enterArray 在接口中 JSONListenerenterArray 在类中 JSONBaseListenerctx - the parse treepublic void exitPair(JSONParser.PairContext ctx)
JSONBaseListenerJSONParser.pair().
The default implementation does nothing.
exitPair 在接口中 JSONListenerexitPair 在类中 JSONBaseListenerctx - the parse treepublic void exitString(JSONParser.StringContext ctx)
JSONBaseListenerString
labeled alternative in JSONParser.value().
The default implementation does nothing.
exitString 在接口中 JSONListenerexitString 在类中 JSONBaseListenerctx - the parse treepublic void exitNUMBER(JSONParser.NUMBERContext ctx)
JSONBaseListenerNUMBER
labeled alternative in JSONParser.value().
The default implementation does nothing.
exitNUMBER 在接口中 JSONListenerexitNUMBER 在类中 JSONBaseListenerctx - the parse treepublic void exitArray(JSONParser.ArrayContext ctx)
JSONBaseListenerJSONParser.array().
The default implementation does nothing.
exitArray 在接口中 JSONListenerexitArray 在类中 JSONBaseListenerctx - the parse treepublic void exitObjectValue(JSONParser.ObjectValueContext ctx)
JSONBaseListenerObjectValue
labeled alternative in JSONParser.value().
The default implementation does nothing.
exitObjectValue 在接口中 JSONListenerexitObjectValue 在类中 JSONBaseListenerctx - the parse treepublic void exitArrayValue(JSONParser.ArrayValueContext ctx)
JSONBaseListenerArrayValue
labeled alternative in JSONParser.value().
The default implementation does nothing.
exitArrayValue 在接口中 JSONListenerexitArrayValue 在类中 JSONBaseListenerctx - the parse treepublic void exitBOOLEANTRUE(JSONParser.BOOLEANTRUEContext ctx)
JSONBaseListenerBOOLEANTRUE
labeled alternative in JSONParser.value().
The default implementation does nothing.
exitBOOLEANTRUE 在接口中 JSONListenerexitBOOLEANTRUE 在类中 JSONBaseListenerctx - the parse treepublic void exitBOOLEANFALSE(JSONParser.BOOLEANFALSEContext ctx)
JSONBaseListenerBOOLEANFALSE
labeled alternative in JSONParser.value().
The default implementation does nothing.
exitBOOLEANFALSE 在接口中 JSONListenerexitBOOLEANFALSE 在类中 JSONBaseListenerctx - the parse treepublic void exitNULL(JSONParser.NULLContext ctx)
JSONBaseListenerNULL
labeled alternative in JSONParser.value().
The default implementation does nothing.
exitNULL 在接口中 JSONListenerexitNULL 在类中 JSONBaseListenerctx - the parse treeCopyright © 2016. All Rights Reserved.