get

operator fun get(key: String): JsonElement?(source)

Retrieves the value associated with the specified key from the JSON object.

Return

the JsonElement associated with the specified key, or null if the key does not exist

Parameters

key

the key whose corresponding value is to be returned