Json
class Json implements ContentTypeInterface
Methods
void
prepareResponse(
Response $response)
Prepare the content of the response before to send it to client
string|array
parseContent(
string $content)
Parse an input content
string
prepareContent(
string|array $content)
Prepare a content for output
static
string
getContentType()
Get the "content-Type" header value
Details
at line 40
void
prepareResponse(
Response $response)
Prepare the content of the response before to send it to client
at line 50
string|array
parseContent(
string $content)
Parse an input content
at line 61
string
prepareContent(
string|array $content)
Prepare a content for output
at line 74
static
string
getContentType()
Get the "content-Type" header value