Interface LicenseCheckerJsonObject
- All Superinterfaces:
LicenseCheckerJsonValue,Serializable
- All Known Implementing Classes:
LicenseCheckerJreJsonObject
Represents a LicenseCheckerJson object.
-
Method Summary
Modifier and TypeMethodDescription<T extends LicenseCheckerJsonValue>
TReturn the element (uncoerced) as a LicenseCheckerJsonValue.Return the element (uncoerced) as a LicenseCheckerJsonArray.booleangetBoolean(String key) Return the element (uncoerced) as a boolean.doubleReturn the element (uncoerced) as a number.Return the element (uncoerced) as a LicenseCheckerJsonObject If the type is not an object,, this can result in runtime errors.Return the element (uncoerced) as a String.booleanTest whether a given key has present.String[]keys()All keys of the object.voidSet a given key to the given boolean value.voidSet a given key to the given double value.voidput(String key, LicenseCheckerJsonValue value) Set a given key to the given value.voidSet a given key to the given String value.voidRemove a given key and associated value from the object.
-
Method Details
-
get
Return the element (uncoerced) as a LicenseCheckerJsonValue. -
getArray
Return the element (uncoerced) as a LicenseCheckerJsonArray. If the type is not an array, this can result in runtime errors. -
getBoolean
Return the element (uncoerced) as a boolean. If the type is not a boolean, this can result in runtime errors. -
getNumber
Return the element (uncoerced) as a number. If the type is not a number, this can result in runtime errors. -
getObject
Return the element (uncoerced) as a LicenseCheckerJsonObject If the type is not an object,, this can result in runtime errors. -
getString
Return the element (uncoerced) as a String. If the type is not a String, this can result in runtime errors. -
keys
String[] keys()All keys of the object. -
put
Set a given key to the given value. -
put
Set a given key to the given String value. -
put
Set a given key to the given double value. -
put
Set a given key to the given boolean value. -
hasKey
Test whether a given key has present. -
remove
Remove a given key and associated value from the object.- Parameters:
key-
-