This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I'll never get JSON syntax straight

 
Allen Williams
Ranch Hand
Posts: 136
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm returning the following string from a server (this is it literally, exact quotes, etc.):

In my javascript, I have:

which gives this error:

Can someone tell me what I'm missing?

TIA,
anw
[ May 17, 2007: Message edited by: Bear Bibeault ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64196
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Allen Williams:
Can someone tell me what I'm missing?
It's not what's missing.
What's with the semi-colon?
[ May 17, 2007: Message edited by: Bear Bibeault ]
 
Allen Williams
Ranch Hand
Posts: 136
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Uh, well, it seemed right at the time;-) That fixed it!

Thanks!
anw
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic