У меня есть этот JSON
[size: null, color: "white"]
, который отправляется на сервер почтовым методом.
Я пытаюсь
$your_json_string = json_decode($your_json_string, TRUE)
и
$your_json_string = html_entity_decode($your_json_string);
$your_json_string = json_decode($your_json_string, true);
- С
print_r($your_json_string);
Я получаю: ноль . - С
echo json_last_error();
я получаю: 4 .
Есть идеи, как мне это решить?