JSON-structure of a real-world application

Learn how to describe any data using JSON-structure.

We'll cover the following

JSON hash

The JSON structure is a universal way to describe almost any data. For example, the following hash represents the state of a user interface (UI) of a minimalist to-do list application:

  todos: [{
    text: 'Eat donut',
    completed: true
  }, {
    text: 'Go to gym',
    completed: false
  visibility_fiter: :show_completed

The UI part of the application may look like this:

Get hands-on with 1200+ tech skills courses.