| 1 | <?php |
||
| 14 | class JsonWriter extends AbstractWriter |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var int current position |
||
| 18 | */ |
||
| 19 | protected $position; |
||
| 20 | /** |
||
| 21 | * @var string Content-Type value for the header |
||
| 22 | */ |
||
| 23 | protected static $headerContentType = 'application/json'; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @inheritdoc |
||
| 27 | */ |
||
| 28 | protected function openWriter() |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @inheritdoc |
||
| 35 | */ |
||
| 36 | protected function addRowToWriter(array $dataRow, $style) |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @inheritdoc |
||
| 45 | */ |
||
| 46 | protected function closeWriter() |
||
| 50 | } |
||
| 51 |