JSONString
JSON string.
Functions
Link copied to clipboard
Link copied to clipboard
fun findAncestor(type: KClass<out JSONElement>, predicate: (JSONElement) -> Boolean = {true}): JSONElement?
Finds the first ancestor of the current JSONElement whose class matches type and which verifies a predicate.
Properties
Link copied to clipboard
The string held by this JSONElement.