decodeObject

inline fun <T> String.decodeObject(): T

Decodes a string to an object of the specified type.

Return

The decoded object.

Parameters

T

The type of the object to decode.


Decodes a string to an object of the specified type.

Return

The decoded object.

Parameters

type

The type of the object to decode.