Computer science: json, part zero
Tutoring computer science, data structures come up. The tutor mentions json.
The following is my understanding.
json stands for JavaScript object notation. It refers to a format for storing data. json essentially follows the concept of an associative array (see my post here). In particular, a json file may be a comma-separated list of data pairs. The specific format of each pair is “attribute”: value. This pair structure is often referred to as “key”: value, with the attributes being thought of as keys.
The json files I’ve seen start and end with braces. The following could be the contents of a valid json file:
{“age”: 149, “planet”: “Mars”}
Source:
Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.
Leave a Reply
You must be logged in to post a comment.