I am setting up a workflow to use the Google API to lock or unlock a Chrome device. I have most aspects working, but the trouble I am running into is that Google’s API returns things as an array of strings which is causing my next API call to be something like ‘[<device id>]’ instead of ‘<device id>’. Even if I add the array element I want in this case [0] my value is still wrapped in [ ]. Is there a simple way to strip the square brackets, or do I have to create expressions for each json array I want to use down the line?
Best answer by rfrutiger
View original