Convert json_encode output to php array
I am a noob with json, so can anyone give me a simple example how to
convert this json ouput
{"users":[{"id":949944078,"id_str":"949944078","name":"Peter
Hendriks","screen_name":"phendr1970"},{"id":1656478406,"id_str":"1656478406","name":"MDK*","screen_name":"SoumayaRN"}],"next_cursor":1,"next_cursor_str":"1","previous_cursor":0,"previous_cursor_str":"0"}
to a php array so I can list (echo) the id and screen_name.
(I shortend the output to 2 ids but in real the output is almost 3500 ids)
Thanks.
No comments:
Post a Comment