#Debugging JSON SyntaxError: Unexpected token .
6 messages · Page 1 of 1 (latest)
It tells you the position of the character
yeah, not really helpful
i think the problem i'm facing is my sequence of bytes only makes sense if you decode it as utf8 but im not sure how to address that in js
i figured it out. needed to call new TextDecoder().decode(bytes) and then i can parse it just fine
Where do these bytes come from?