X
X
xlo2402020-04-16 23:17:05
JavaScript
xlo240, 2020-04-16 23:17:05

How to parse string from AJAX?

From the ajax handler method

echo json_encode($res_date_arr, JSON_UNESCAPED_UNICODE);

Got a line like
["20190425","Digital Lab as part of the digital transformation of oil and gas companies","http:\/\/name.ru\/wp-content\/uploads\/2019\/04\/digital_lab.jpg","April 25 2019","16:15","Foyer of DK \"Fedorov\"","","","http:\/\/name.ru\/index.php\/events\/digital-lab-kak -chast-cifrovoj-transformacii-neftegazovyx-kompanij\/",]

How to parse it in js into an array or an object?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question