0

I have a piece of code:

$pricesGrab = file_get_contents("prices.json", true);
$prices = json_decode($pricesGrab, true);

But for some reason the $prices is null for me. I have checked everything in my opinion: The file has data, file has minified JSON, JSON is valid.. I don't know what could be the issue now. I can't put JSON here, it's too big, if it's needed I can try to find a uploda site.

0 Answers0