JsonElement
contains common code for all the valid types in JSON:
- JsonObject
- JsonArray
- JsonPrimitive (string, number, boolean)
- JsonNull
This allows you a write a method that takes a JsonElement
that works with any of the above types.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…