Nuacht
If you want to view, read and edit JSON files in a readable format, then this post shows how to do it in Windows PC and on the Web.
To read from a text file in C, you will need to open a file stream using the fopen () function. Once a file stream has been opened, you can then read the file line by line using the fgets () function.
I have xampp installed and apache running. If I put an html file.. or javascript file in C xampp\htdocs my browser can load it fine. But as soon as I try to access a sales.json file it says access ...
Cuireadh roinnt torthaí i bhfolach toisc go bhféadfadh siad a bheith dorochtana duit
Taispeáin torthaí dorochtana