Answer the question
In order to leave comments, you need to log in
How to process JSON?
When interacting with the server, data is received in JSON format. But some data comes with a syntax error. Example: . For some reason, there is undefined at the beginning of the line.
How can I check for undefined at the beginning of a string and remove it? undefined{cars: "BMW, LAMBA, PORSCHE"}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question