Working with JSON data
JSON (short for JavaScript Object Notation) is a format for representing and exchanging data between computer systems in a human-readable way. The JSON format has a tree-like structure and supports list and the nesting of elements. Within many applications, JSON has replaced the XML format, being lighter and requiring less disk space. JSON has become a de facto standard for exchange of web data, including REST web services. Many logging systems also use the JSON format to represent events. Finally, JSON is the standard data representation format in NoSQL document-oriented database systems, such as MongoDB or Amazon DynamoDB.
Getting ready
TheJSON.jl
package can easily be installed with the Julia package manager. In the Julia command line (REPL), press the ] key and run the following command:
(v1.0) pkg> add JSON
This will install theJSON.jl
package and all its dependencies.
Note
In the GitHub repository for this recipe, you will find the commands.txt
file, which contains...