acesario
5 years agoContributor II
Is there a better way to simply convert an array to a string?
When I do a get from a given web service, I often have a single value being returned, but within an array. What happens is I end up with this type of output [“Andrew”] rather than say “Andrew”
In order to write this value, always the 0 level value I end up hacking it with something like the path for the first values.
jsonPath($, “$Student**[0]**.Student_Data[0].Student_Person_Data[0].Personal_Profile_Data[0].Date_of_Birth”)
Here is a screenshot of the input schema for reference: