public interface JsonData
Modifier and Type | Method and Description |
---|---|
JsonArray |
getJsonArray()
Returns the top-level
JsonArray for the JSON data. |
JsonObject |
getJsonObject()
Returns the top-level
JsonObject for the JSON data. |
boolean |
isValidJson()
Determines if the JSON is valid.
|
boolean isValidJson()
JsonObject getJsonObject()
JsonObject
for the JSON data.
If the JSON is not valid (for example, isValidJson()
returns false
) this throws an exception.
If the top-level value is not a JsonObject
, this throws an exception.
JsonObject
for the JSON dataJsonArray getJsonArray()
JsonArray
for the JSON data.
If the JSON is not valid (for example, isValidJson()
returns false
) this throws an exception.
If the top-level value is not a JsonArray
, this throws an exception.
JsonArray
for the JSON dataCopyright © Veeva Systems 2017–2019. All rights reserved.