getProperty

abstract fun getProperty(property: String): Any

If this JSON value is a JSON object, gets the raw Javascript object representing the value of a given property of this JSON object. If this JSON value is not a JSON object or if this JSON object has no property with the given name, then this method returns null.

Return

The raw object representing the property named property of this JSON object

Parameters

property

The name of the property to retrieve of this JSON object