0
I wanted to be able to access some information of this string:
{"op":"&","c":[{"type":"completion","cm":1227,"e":1}],"showc":[true]}
it looks like an array, but it prints as a string, as it would access cm:1227?
someone can help?
0
I wanted to be able to access some information of this string:
{"op":"&","c":[{"type":"completion","cm":1227,"e":1}],"showc":[true]}
it looks like an array, but it prints as a string, as it would access cm:1227?
someone can help?
Browser other questions tagged php
You are not signed in. Login or sign up in order to post.
is a json, from a
json_decode()
that it becomes an object– rray
Thank you, I turned it into an object, as I would now, to access the information?
– Yuri Rodrigues
echo $var->op
use the property names they are on the left side of the colon.– rray