php - Decode JSON with square brackets -
I have tried to decode this Jason, but there is no luck, these square brackets are confusing me Also help will be appreciated, "name": "default location"}], "name": "default location": "[" "location": ["default building"]: "default location" "}]
thanks
Try this:
var_export (json_decode ('[location]: [["" building ": [" default build "]," name ":" diff Lot place "}]," name ":" default organization "}] ')); json_decode return array or object . You can print it from var_export not echo and you can reach values:
$ "Name": "default organization"}] '); foreign currency ("[" "location": ["building": ["default building"], "name": "default location" $ Each $ item as $} {repetitive $ each- & gt; location [0] -> building [0]; resonance '& lt; hour / & gt;'; per dollar per- & gt; location [ 0] - & gt; name; resonance '& lt; hour / & gt;'; per dollar per-> no Gm; // default organization}
Comments
Post a Comment