I am looking for an answer in internet but it no one that fit my needs.
I have a string in the following format:
"[2,15,23]"
and i am trying to convert it in this format:
[2,15,23]
I need the type after the convertion to change to []int. I need to convert it because i want to use it later to make an interface type to use it in a sql query as param.
Is there any way to convert it?
Thanks