Say I have the displayType key that can have the values ‘text’ and ‘select’. Now I would want to map that to TEXT and SINGLESELECT accordingly. I tried the following, that results in an error:
Yes, the data in displayType is as you say. I already used the dictionary map and that works, but I was interested if this could be done also using JMESPath.