I\'m developing an Android app, and for the API I\'m sending my requests to a URL that should return JSON data.
This is what I\'m getting in my output:
just Add pre Tag -->
and
echo json_encode($response, JSON_PRETTY_PRINT);
after adding pre-Tag and JSON_PRETTY_PRINT I'm sure your Problem will solve.