/**
* Adds 'ajax to the supported content types of the JSON encoder'
+ *
+ * @internal
+ * This encoder should not be used directly. Rather, use the `serializer`
+ * service.
*/
class JsonEncoder extends BaseJsonEncoder implements EncoderInterface, DecoderInterface {