stringOrNull

Returns null if provided Json is JsonNull or interprets given Json as JsonString and returns int value.

Throws

if JSON structure does not match expected type


Interprets given Json as JsonObject. Returns null if given key is not exists or value of given key is null. Otherwise, interprets value of given key as JsonString and returns string value of JsonString.

Throws

if JSON structure does not match expected type