containsKey

open fun containsKey(@Nullable key: Any): Boolean

Check whether the JSON dictionary contains a key.

Return

Whether the JSON dictionary contains the specified key.

Parameters

key

Key to search for.