JSON is extremely easy to handle, in my experience. Much easier than XML. PHP 5.2+ has a json_decode() command which turns the whole string into nicely structured arrays, for instance. On Sun, Feb 15, 2009 at 3:07 PM, Paul Hoza <paulhoza@gmail.com> wrote:
Hi David, Thanks for the reply. I need to run out of town for a quick road trip, but will be back tomorrow afternoon. I will reply more usefully as soon as I get back.
I don't mean to add cruft to the list by a useless reply, but I'm just very happy that a couple people already replied. (Thanks to Kristof as well.) I'm not even supposed to be checking email since we're a bit late, but I couldn't resist. :)
Thanks... more soon, Paul
David Metzler wrote:
Hey Paul,
I haven't done this with JSON, but have written some XML to nested array conversion stuff that might help, but might not. Could you shoot an example of the feed and what makes it so complicated so that we don't shower you with irrelavent solutions :). Is it that you're trying to parse data that's inside XML that makes it so nasty or something else?
You give me the impression that the JSON feed contains more information than the other feed. Is that true?
Dave On Feb 15, 2009, at 6:33 AM, Paul Hoza wrote: