decodeOrNull

inline fun <T> Json.decodeOrNull(value: String?): T?

Decodes JSON, returning null when the input is null or invalid.