O'Reilly logo

Scientific Computing with Scala by Vytautas Jančauskas

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Reading and writing JSON files

JavaScript Object Notation (JSON) files are a common way of serializing data. It was proposed by Douglas Crockford and is described in the RFC 7159 standard. In particular, they are good at storing complex data structures such as dictionaries. Many languages have strong libraries for JSON support. It is very common to store your program data in JSON files. It is a good format in which to save files and the like. It is also commonly used for storing input data for various simulation programs. It is far more human-readable and -writable than XML and has largely replaced it in some uses. For example, it has largely replaced XML in asynchronous browser/server communication. We will look into several libraries that you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required