JSON[] Postgres type renders as string with extra brackets
JSON[]. The studio renders the following (
{"{\"fieldA\":{\"Size\":2.4},\"title\":null,\"width\":48,\"height\":32,\"quantity\":1,\"date\":\"2025-03-29 02:56:02.000000 +00:00\",\"itemNumber\":1,\"itemsTotal\":1,\"item1\":\"1234\"}"}) in the columns with JSON[] type.Parsing this result via
JSON.parse() in scripts/flows yields the following error:I had to change the db schema to
JSON[] as I encounted an error where the brackets around my object weren't interpreted properlyIs there a way/setting I can apply to solve this?
Thank you
Windmill Version:
Windmill EE v1.483.1-18-g444a6abad