JsonPrimitive
Class representing JSON primitive value. JSON primitives include numbers, strings, booleans and special null value JsonNull.
Inheritors
Properties
Returns content of current element as boolean
Returns content of current element as boolean or null
if current element is not a valid representation of boolean
Content of the given element without quotes or null
if current element is JsonNull
Returns content of current element as double
Returns content of current element as double or null
if current element is not a valid representation of number
Returns content of current element as float
Returns content of current element as float or null
if current element is not a valid representation of number
Returns content of the current element as int
Returns content of the current element as int or null
if current element is not a valid representation of number
Convenience method to get current element as JsonArray
Convenience method to get current element as JsonNull
Convenience method to get current element as JsonObject
Convenience method to get current element as JsonPrimitive
Returns content of current element as long
Returns content of current element as long or null
if current element is not a valid representation of number