I get this variable from from-data in postman:
$filter = "[234,321,22,4]"
but It's an string.
I want to convert $filter
to this:
$filter = [234,321,22,4]
It should be an array with numeric type, not string.
I get this variable from from-data in postman:
$filter = "[234,321,22,4]"
but It's an string.
I want to convert $filter
to this:
$filter = [234,321,22,4]
It should be an array with numeric type, not string.