toContent

inline fun <T> T.toContent(): Content

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