If a man is surrounded by trees, does he become a grove?
Those are json literals in the SQL query. That has nothing at all to do with how json is stored in jsonb columns in the database itself.
This is among the most shallow comment I ever saw on HN. Just because `TreeSet a = [1,2,3]` is surrounded by [ and ] does that mean `a` is a list? When you do `jsonb j = '{"a":"c"}` postgres builds a separate data structure for you from that json, which allows you to use a btree index.