How to decode a JSON string in PHP?

后端 未结 9 1152
挽巷
挽巷 2020-12-02 02:18

I have a JSON string that looks something like this:

{\"addresses\":{\"address\":[{\"@array\":\"true\",\"@id\":\"888888\",\"@uri\":\"xyz\",\"household\":{\"@         


        
9条回答
  •  生来不讨喜
    2020-12-02 02:31

    Maybe try $results['addresses']['address']['address1'];

    Not sure why you're using strstr. but it doesn't look like it'd change anything in this instance.

提交回复
热议问题