JsonEncoder
class JsonEncoder extends JsonEncoder (View source)
| internal | JSON:API maintains no PHP API. The API is the HTTP API. This class may change at any time and could break any dependencies on it. |
Encodes JSON:API data.
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}