Anyone can probably figure this out. Why does the following JSON object cause a JSON.parse error? It appears to be a valid JSON object. I'm sure I'm doing something completely idiotic in this, the 14th hour of this long workday.
var t = {
"message": "ok, Heru we go!"
};
JSON.parse(t);
--> syntaxError: Unexpected token o
Many thank yous!
UPDATE
This is the kind of question you ask when you have 2 new puppies and are trying to code on 3 hours of sleep. Please let this serve as a warning for those of you who have come here looking for the same answer- Go to sleep. Give it up. You're worthless today. Try again tomorrow.