Best practice working with JSON fields in model & Table Builder
Hello!
Im trying to make a table widget, but im confused on how I can get values that live within a JSON column to be shown..
I have a JSON column called
How do I now have 2 columns in the table builder that are TextColumns which show the values from "foo" and "example2" ?
Im trying to make a table widget, but im confused on how I can get values that live within a JSON column to be shown..
I have a JSON column called
payload which for example contains {"foo": "bar", "example2": "value2"}How do I now have 2 columns in the table builder that are TextColumns which show the values from "foo" and "example2" ?