How to get better web results with JSON-LD?

Web browsers are getting smarter, they process more information and are faster, but how do they manage to improve the millions of searches done every second?
A section to better understand how they do it is the structured data within web pages, used by the browser to understand the content and its context. For example, a recipe website will have ingredients, cooking times, nutrients, etc. A web store will have products, prices, comparisons, and payment methods. A business blog will have names, articles, …
Each type of website has its differentiating elements. They are elements that we (humans) can process at first sight and decide their relevance, but an AI will not have the same facility to show us the same results instantly. It requires key bookmarks to rank and understand which content is more relevant than the previous one.
What is structured data?
First and foremost, let’s explain the concept of “structured data.”
Structured data is the information that is usually found within a database. They are filed in text type to be displayed in rows and columns.
This information is stored in the source code of the website and it is the browser that has to search, extract, analyze and identify the data to classify and display (or not) the website in the search result.
JSON-LD is the syntax used by Google to centralize this metadata so that it is faster and easier to determine the content of the page and index it in the search result.
What is JSON-LD?

JSON-LD stands for JavaScript Object Notation for Linked Data. As its name suggests, it is a JSON-based structure in which we can add the essential information of our website in an easy and centralized way. Furthermore, JSON is an easy-to-read format for both machines and humans.
Unlike other structured data like RDFa or microdata embedded in web code, JSON-LD is placed inside a