# Functions
Marshal will marshal any interface{} according to the Accept header of the passed request to JSON by default or XML if the header is set to text/xml.
MarshalWithCode will marshal any interface{} according to the Accept header and will use the statusCode provided.