Encodes JSON-LD data.
Simply respond to JSON-LD requests using the JSON encoder.
Expanded class hierarchy of JsonldEncoder
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
JsonEncoder:: |
protected | property | ||
JsonEncoder:: |
protected | property | ||
JsonEncoder:: |
public | function |
Decodes a string into PHP data Overrides DecoderInterface:: |
|
JsonEncoder:: |
public | function |
Encodes data into the given format Overrides EncoderInterface:: |
|
JsonEncoder:: |
constant | |||
JsonEncoder:: |
public | function | Returns the last decoding error (if any) | |
JsonEncoder:: |
public | function | Returns the last encoding error (if any) | |
JsonEncoder:: |
public | function |
Checks whether the serializer can decode from given format Overrides DecoderInterface:: |
|
JsonEncoder:: |
public | function | ||
JsonldEncoder:: |
protected static | property | The formats that this Encoder supports. | |
JsonldEncoder:: |
public | function |
Check whether the request is for JSON-LD. Overrides JsonEncoder:: |