Writer trait and it’s impls.
Write serializable content to response as json content. It will set content-type to application/json; charset=utf-8.
content-type
application/json; charset=utf-8
Write text content to response as text content.
Piece is used to write data to response.
Writer is used to write data to response.