Interface JsonValue
- All Known Subinterfaces:
JsonArray,JsonNumber,JsonObject,JsonString
public interface JsonValue
Represents a Json value. Abstracted from javax.json (J2EE) and Jersey.
- Author:
- Holger Eichelberger, SSE
-
Method Summary
Modifier and TypeMethodDescriptionReturn the JsonValue as a JsonObject.
-
Method Details
-
asJsonObject
JsonObject asJsonObject()Return the JsonValue as a JsonObject.- Returns:
- the JsonValue as a JsonObject
- Throws:
ClassCastException- - if the JsonValue is not a JsonObject
-