json_decode($json_string, TRUE) returns an array
On Jan 26, 11:43 pm, Adriaan Pelzer adriaan.pel...@gmail.com wrote:
Just use json_decode($json_string)
It returns an object by default, but there's a flag to make it return and
array. Can't remember off the top of my head, buy chech on
Hmmm, true. In fact, what epiTwitter really return various array sets
of data, which I can focus on. So, it's not really in JSON format
issue at this point, as I was initially thinking.
I'm wondering if anyone has code that can gracefully digest different
arrays returned from the API (e.g,
The Twitter API can return JSON. No need to hack anything, that's why they
provide an API - to make it easy!
Just use curl to retrieve the JSON and convert it to an array.
Sent from my iPod
On 28 Jan 2011, at 3:58, Patrick kenned...@gmail.com wrote:
Hmmm, true. In fact, what epiTwitter