Hey all,
I’m having an issue running $.parseJSON through a callback, when it works perfectly fine inside of a page function. The string parameter it takes is an array, ala “‘bob’,‘jack’]”.
The error is always ‘Unexpected token’ then the first character after the first mark, no matter what the character is. (In the above example, the ‘unexpected token’ would be the ’ mark itself.)
I’m not sure if this is a legitimate bug, or just due to the way the callback handles the incoming string parameter.
Can or anyone else clarify?