S
S
savage_me2017-08-20 20:04:16
JavaScript
savage_me, 2017-08-20 20:04:16

How to parse such a response from the server in javascript?

The server returns such a response with Content-Type application/json;

)]}'
["1","1",false,1,[0],[0
,[28,"1","2",false,true,"1","#1FA15D","1 ","2"]],"2:4444"]

Is it possible to parse it somehow in the html page? You can use any library like jquery.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Kovalev, 2017-08-20
@alex_kovalevv

JSON.parse('[1, 5, "false"]'); // [1, 5, "false"]- try.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question