xxxxxxxxxx
The JSON data type is basically a blob that stores JSON data in raw format,
preserving even insignificant things such as whitespace, the order of keys
in objects, or even duplicate keys in objects. It offers limited querying
capabilities, and it's slow because it needs to load and parse the entire
JSON blob each time.
JSONB on the other hand stores JSON data in a custom format that is optimized
for querying and will not reparse the JSON blob each time.