64 $this->json = $this->serializer->serialize(
$data);
74 $this->json = (string)$jsonData;
83 $this->translateInline->processResponseBody($this->json,
true);
84 $response->setHeader(
'Content-Type',
'application/json',
true);
__construct(InlineInterface $translateInline, \Magento\Framework\Serialize\Serializer\Json $serializer=null)
render(HttpResponseInterface $response)
setData($data, $cycleCheck=false, $options=[])