Loading ...
Sorry, an error occurred while loading the content.

624Re: [json] json as js variable

Expand Messages
  • Mark Ireland
    Dec 10, 2006
      Here is one I prepared earlier:

      . . . . . .

      I could just loop through this testing for my uniqueID but surely someone
      has written something quicker and more reusable than that? Is this not a
      standard structure?

      >From: "Martin Cooper" <mfncooper@...>
      >Reply-To: json@yahoogroups.com
      >To: json@yahoogroups.com
      >Subject: Re: [json] json as js variable
      >Date: Sun, 10 Dec 2006 14:13:22 -0800
      >On 12/10/06, Mark Ireland <markincuba@...> wrote:
      > >
      > >
      > > Thanks. I was hoping there was a js function library where you just pass
      > > the
      > > unique id and the row is returned.
      > > Is there one?
      >What do you mean? There is no concept of "row" in JSON, or even unique IDs,
      >for that matter, beyond the property names in an object. Any structure you
      >are imposing on your JSON objects is your own, so there isn't going to be a
      >library out there to manipulate that unless you write it. ;-)
      >Martin Cooper

      Advertisement: Fresh jobs daily. Stop waiting for the newspaper. Search Now!
    • Show all 19 messages in this topic