Dirty how to parse JSON vk API?

Hey all, picked up from VK API result in JSON
On a small number of results are obtained, but when responsive a large sample of this:

SyntaxError: Unable to parse JSON string

Went to this website and put the JSON which gives an error there jsoneditoronline.org
Here is what learned:
5a2d422ade932494356022.jpeg

That is, JSON is any nonsense type characters, unclosed quotation marks, etc. Can you please tell me what to do to solve this issue? As an option see how to process the result to remove the characters causing the error.

Or you can get XML instead of JSON or parse JSON with regexps, but I would not want to do.

Thanks in advance for your answers.
June 10th 19 at 16:20
1 answer
June 10th 19 at 16:22
Apparently, You copied the result pages methods? To do not need for normal API requests such errors will not.

Find more questions by tags ParsingJSONVKontakteJavaScript