convert

inline fun <T, R> T.convert(): R

Converts a serializable object of type T to another serializable type R.