Input using print($response)
was
[CategoryArray] => stdClass Object
(
[Category] => Array
(
[0] => stdClass Object
(
[BestOfferEnabled] => 1
[AutoPayEnabled] => 1
[CategoryID] => 353
[CategoryLevel] => 1
[CategoryName] => Antiques
[CategoryParentID] => 353
)
[1] => stdClass Object
(
[BestOfferEnabled] => 1
[AutoPayEnabled] => 1
[CategoryID] => 550
[CategoryLevel] => 1
[CategoryName] => Art
[CategoryParentID] => 550
[LSD] => 1
)
[2] => stdClass Object
(
[BestOfferEnabled] => 1
[AutoPayEnabled] => 1
[CategoryID] => 2984
[CategoryLevel] => 1
[CategoryName] => Baby
[CategoryParentID] => 2984
)
[3] => stdClass Object
(
[BestOfferEnabled] => 1
[AutoPayEnabled] => 1
[CategoryID] => 267
[CategoryLevel] => 1
[CategoryName] => Books, Comics & Magazines
[CategoryParentID] => 267
)
... ...
)
)
the output wanted was
array(array(CategoryID = '353', breadCrumb = 'Antiques', parentID = '353'),
array(CategoryID = '4334', breadCrumb = 'Antiques->Chairs', parentID= '353'),
...
)
thank you Gumbo