What is the difference between
In fact, the user comments on the following:
json vs jsonb
For the purposes of this problem it does not matter, you can use array or object in both variants. I recommend jsonb, but that's another topic.
Personally I do not see any difference, nor in sql response time.