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.
JsonElement
contains common code for all the valid types in JSON:
This allows you a write a method that takes a JsonElement
that works with any of the above types.