I have String
as follows:
[["155","123RET"],["156","124RET"]]
In other words, I need to add an item in each of them, so I need them in the end to be as follows:
[["1","155","123RET"],["2","156","124RET"]]
I need to convert this subArrays
original to string
so I can change them according to my needs.
I tried the following:
def array = Eval.me(suprimentoRetEstoque)
And my return was like this:
[[155, 123RET],[156, 124RET]]
But I can not get through these subArrays, is there any way to convert a string to array other than this array
?