How to Convert stdClass Object into Array for Data Transfer
How to Convert stdClass Object into Array for Data Transfer
When ever you stuck with data transfer error that is stdClass Object with Object,String related Error. First of all Encode your Object Response with json_encode like
json_encode($response)and after that Decode the Result with
json_decode(json_encode($response), true);and get your response and use it.
Comments
Post a Comment
If you have any error, bug related to your Prestashop website, Let me know