Postgres 12 has generated columns, so you can throw your data in a jsonb column and have Postgres pull data out of it into separate columns for indexing for example.
Generated columns are not necessary for indexing in Postgres, you can create an index on any expression based on the record (supported by many versions now).