Whitespaces in jsonPath
oschwier opened this issue · 2 comments
oschwier commented
What can I do if there are whitespaces within the jsonPath?
Path looks like:
$.Technische Daten.Abmessungen
$res = new JsonObject(myJSONstring);
$res = $res->get($jsonPath);
returns false
Debug Output:
JsonPath::subtreeGet(array('Technische Daten' => array('Abmessungen' => array('Breite in mm' => '300', 'Tiefe in mm' => '580', 'Höhe in mm' => '715', 'Gewicht' => '60 kg'),....
Galbar commented
oschwier commented
Ah sorry, missed that issue! Seams to work! Thanks for the quick response!