How JSON helps to connect humans and machines
A data exchange format
JSON is a data exchange format. It allows data and its structure to be represented. In doing so, JSON supports the following primitives:- Text fields
- Numeric fields
- Boolean values (true/false)
- Lists of values
- Objects, which in turn have values in their attributes (=properties).
Address the database with JSON
Databases that have a JSON interface, also Web-API called, allow access to the data in the database. This enables the following use cases:Human-Machine Communication: Addressing employees with JSON
Employees who use PCs and tablets normally operate an app or a program. With the help of a Web-API the app or program can access your data inventory via JSON. For this, you need apps or programs tailored to the database that communicate with the database via JSON.Machine-Machine Communication: Addressing machines with JSON
Machines do not have to display the data graphically first. They can process the data directly. Equip your machines with a JSON interface to enable humans or the database itself to pass commands to the machines or read measured values.Application Example: LED Wall
The LED walls in Upper Lusatia are an example of such networked systems:
- A database manages a list of locations, as well as the advertisements running at each location
- People (users) enter new advertisements into the database
- The LED walls are controlled by a Launix video box and download the advertisements they are to play next via JSON