Array
(
[sEcho] => 1
[iTotalRecords] => 7521
[iTotalDisplayRecords] => 1
[aaData] => Array
(
[0] => Array
(
[0] => Nordic Capital Buys SiC Processing
[1] => 2010-06-21/nordic-capital-buys-sic-processing
[2] => PEHub Media
[3] => Business
[4] => completed
[5] => Nordic Capital has acquired a 70% stake in SiC Processing AG, a German industrial recycling company, from Frog Capital. No sale price was disclosed. SiC Processing’s founding family retains a 25% holding, while former lead investor Zouk Ventures retains a 5% stake.
[6] => Admin, China, Frog Capital, Germany, Italy, Iyad Omari, Manufacturing, Norway, PEHub Media, Photovoltaic Wafer Manufacturing, Renewable Energy, Semiconductor, United States
)
)
)
echo json_encode($myArr);
{"sEcho": "1", "iTotalRecords": 7521, "iTotalDisplayRecords": "1", "aaData": [["Nordic Capital Buys SiC Processing "," 2010-06-21 / nordic-capital-buys-sic-processing"," PEHub Media "," Бизнес "," завершено ", null ,«Admin, Китай, Frog Capital, Германия, Италия, Ияд Омари, Производство, Норвегия, PEHub Media, Производство фотоэлектрических пластин, Возобновляемая энергия, Полупроводник, Соединенные Штаты]]}
Обратите внимание наNULL в середине строки после завершения
Почему это, какие побег / манипуляции мне нужно выполнить, чтобы закодировать это?
Я пытался, addslashes