Because it is smaller and easier to convert into a data structure, it's a great alternative to other formats like XML. One of the advantages to using JSON is how easy it is to read. JSON uses minimal formatting--really just a few special characters in addition to the data. So here I've created a JSON object with a few key-value pairs. The keys are on the left-hand side and the value of the keys are on the right hand side. So for example, the key would be the name, and the value will be my name, Ray Villalobos, and the position and courses, et cetera, et cetera.
- What is JSON?
- Creating simple data
- Communicating across sites with JSONP
- Rotating with jQuery Cycle