Mercurial > hg > isophonics-drupal-site
comparison core/modules/serialization/src/Encoder/JsonEncoder.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children | af1871eacc83 |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
8 use Symfony\Component\Serializer\Encoder\JsonEncode; | 8 use Symfony\Component\Serializer\Encoder\JsonEncode; |
9 use Symfony\Component\Serializer\Encoder\JsonEncoder as BaseJsonEncoder; | 9 use Symfony\Component\Serializer\Encoder\JsonEncoder as BaseJsonEncoder; |
10 | 10 |
11 /** | 11 /** |
12 * Adds 'ajax to the supported content types of the JSON encoder' | 12 * Adds 'ajax to the supported content types of the JSON encoder' |
13 * | |
14 * @internal | |
15 * This encoder should not be used directly. Rather, use the `serializer` | |
16 * service. | |
13 */ | 17 */ |
14 class JsonEncoder extends BaseJsonEncoder implements EncoderInterface, DecoderInterface { | 18 class JsonEncoder extends BaseJsonEncoder implements EncoderInterface, DecoderInterface { |
15 | 19 |
16 /** | 20 /** |
17 * The formats that this Encoder supports. | 21 * The formats that this Encoder supports. |