Object of class stdClass could not be converted to string error

前端 未结 6 1062
一生所求
一生所求 2021-01-05 00:12

I have the following string:

{\"Coords\":[{\"Accuracy\":\"65\",\"Latitude\":\"53.277720488429026\",\"Longitude\":\"-9.012038778269686\",\"Timestamp\":\"Fri J         


        
6条回答
  •  -上瘾入骨i
    2021-01-05 00:24

    $decoded_traces is an object. You cannot simply echo an object, because that makes no sense.

    If you want to debug the object, use var_dump($decoded_traces).

提交回复
热议问题