...it was valid JS, but what I wrote was not the JSON string that was
returned....  going by memory as to what the output of the JSON string was,
and it's 3:00 a.m.  I think you are right that each hash had an ID next to
it.  ...hold on, I'll get what the actual return string was...



On 6/9/07, Christophe Porteneuve <[EMAIL PROTECTED]> wrote:
>
>
> Hey,
>
> Mark Holton a écrit :
> > How does that look?
>
> Not too good: it's not valid JSON, and perhaps not valid JS even: in an
> associative array, properties should have names; in your top-level
> container, the hashes are values with no names associated to them.  So
> you should use an array as the top-level container, or change your
> structure so that each hash is associated to a name.
>
> --
> Christophe Porteneuve aka TDD
> [EMAIL PROTECTED]
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to