I’m trying to read some Json data from a server but the answer includes explicitly the data type like:
array(3) {
[“code”]=>
string(7) “success”
[“message”]=>
string(65) “All campaigns retrieved with type: template & status: temp_active”
[“data”]=>
array(4) {
[“campaign_records”]=>
array(1) {
[0]=>
array(13) {
to be able to read the Json data I need to remove array(3), string(7), etc. Is there any way to get Json data directly from such an answer or do I need to remove the elements before?
Thanks.