api / tv.twelvetone.json / JsonObject / get

get

operator fun get(name: String?): JsonValue?

Returns the value of the member with the specified name in this object. If this object contains multiple members with the given name, this method will return the last one.

Parameters

name - the name of the member whose value is to be returned

Return
the value of the last member with the specified name, or null if this object does not contain a member with that name