What is JSON?Edit
How this book will workEdit
Nice and short, this book will be divided into a few sections to go over each part. Due to the nature of JSON, it will be very easy to learn. At the end of this book will be a section with a few exercises. There shall be pictures of the code etc. throughout to show real examples of JSON code. Each page has a header, short introduction, the relevant pictures and information for the section, links to the previous and next sections, and links at the bottom for references and further reading. All source code written in this book will be formatted as so.
Note: Contributors must please follow this structure mentioned above.
What can JSON be used for?Edit
How does JSON work?Edit
JSON data is stored in a file, which is left as is. It is not compiled into binary code, just left as is. This is the nature of any markup language, not just JSON. It is up the application to open the file, scan the text and pick out the data it needs, and change whatever it needs to change. A developer would use a 'parser library' to do the work of scanning the text and loading certain variables into memory for the application to use. Variables, such as integers are created here and stored in the file. JSON files end with ".json" and are stored wherever the application needs it to be.
Is JSON difficult?Edit
Are there any prerequisites?Edit
Yes. You need to actually know and understand a programming language, since JSON is only there to complement your application, not make it. You will need a code editor to continue, like Atom or Visual Studio Code, though any text editor like Notepad will do. You can download both Visual Studio Code and Atom for free. Finally, for whatever programming language you use, you need a parser library to continue.
- Wikipedia - JSON