toModel

inline fun <T> Content?.toModel(catchError: Boolean = true): T?

This methods is a facility method to map a json content to a model.