JsonEncoder
class JsonEncoder extends JsonEncoder (View source)
Encodes HAL data in JSON.
Simply respond to hal_json format requests using the JSON encoder.
Properties
| static protected string | $format | The formats that this Encoder supports. |
Methods
__construct(JsonEncode $encodingImpl = NULL, JsonDecode $decodingImpl = NULL)
{@inheritdoc}
from
JsonEncoder
Details
__construct(JsonEncode $encodingImpl = NULL, JsonDecode $decodingImpl = NULL)
{@inheritdoc}
supportsEncoding($format)
{@inheritdoc}
supportsDecoding($format)
{@inheritdoc}