Welcome @West_cliff! Is that result truncated when your PHP returns it? If so it won’t work with a JSON parser. If not, let’s see the full result.
By the way, you might want to remove “PHP” from the title as this doesn’t seem like a PHP problem. (I say that as someone who maintains some PHP code.)