i would like to convert some data from JSON to PHP grid or PHP variables please, i have done that already via var_export or dump, but on smaller data that wasn't on array, i think i can't found the correct path of the tree.
Like: $response = var_export($json['Value1'], true);
How can i export specified values please that belongs on a Key tree and repeat the action for the other arrays automated please?
I am attaching a tree explanation,
array:2 [
"result" => 0
"infos" => array:12 [
0 => array:6 [
“Key1” => array:1 [
0 => array:5 [
“value1” => 0
"value2” => "vds"
"value3” => 0
"value4” => 0
"value5” => 0
]
]
“Key2” => 0
“Key3” => array:1 [
0 => array:34 [
"value6” => 1000000
"value7” => 32
“value6” => false
“value9” => 943719
“value10” => true
“value11” => 1000
"value12” => "native"
"value13” => "6.6"
"value14” => "^((([a-zA-Z0-9])+(-{1}([a-zA-Z0-9])+)+)|([a-zA-Z0-9]+))$"
"value15” => 64
"value16” => 2155
"value17” => false
"value18” => “text”
"value19” => 64
"value20” => true
"value21” => “text”
"value22” => “text”
"value23” => 1007796
"value24” => false
"value25” => []
"value26” => []
"value27” => 1
"value28” => []
"value29” => []
"value30” => false
"value31” => “8.8.8.8”
"value32” => “text”
"value33” => "http://url”
"value34” => “text”
"value35” => “8.8.8.8”
"value36” => true
"value37” => “text”
"value38” => false
"value39” => "htext”
]
]
“Key4” => []
“Key5” => array:16 [
"value38" => 18
"value38" => false
"value38" => []
"value38" => 1
"value38" => array:6 [▶ more data]
"value38" => “text”
"value38" => "a850f5fd35f4c5e4a9"
"value38" => false
"value38" => “date”
"value38" => 18
"value38" => “text”
"value38" => false
"value38" => “url”
"value38" => []
"value38" => “url”
"value38" => “text”
]
“Key6” => "OWNER"
]
1 => array:6 [▶]
2 => array:6 [▶]
3 => array:6 [▶]
4 => array:6 [▶]
5 => array:6 [▶]
6 => array:6 [▶]
7 => array:6 [▶]
8 => array:6 [▶]
9 => array:6 [▶]
10 => array:6 [▶]
11 => array:6 [▶]
]
]
via Thodoris Filippidis