parse

inline fun <T> parse(payload: String): T

Parse a json string into a kotlin object.

Return

parsed type T

Parameters

T

type of the object to parse.

payload

JSON string to parse