Testing out the JSON columns and have no real experience with JSON, but can’t seem to accomplish a (seemingly) simple task.
A sample of my data looks like this:
I want to retrieve the status of an item based on the item number. So for example, the status for "C1234. Using JSONata, the expression “itemNO” gets me an array of all item numbers, but I can’t seem to figure out how to just get one value based on the item number. Any guidance would be appreciated.
$[2].status returns the status of the 3rd element in the array (index 2).
$[itemNO].status returns an array format of all status. But you can use a join function to get a comma-delimited list instead, which might be easier down the line for further transformation.
Playing around with this a little more, it’s a disappointing limitation that the JSON source cannot be a URL. Or am I missing something. I know the existing Fetch JSON column that uses JQ can, but not, seemingly, this newer JSON column(s).