Coding John Coding John - 1 year ago 136
JSON Question

What does an unexpected token mean and can I solve it?

Android Studio is telling me that there are some "Unexpected Tokens"..

what are these??


error in code
where the error is

error in Messages

Answer Source

You have invisible character in these lines, \8232 is line separator. Possibly you copied it somewhere.

Try to paste it in Notepad/TextEdit and copy text from there. Point is to get rid of formatting and extra characters. Or you can just delete these lines and retype them manually.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download