I am asking about the best approach converting string formula like that JSON input ["num1","num2","num3",...] to array in PHP 7 and in JS the array should be like that
$tobeconverted= "[\"1\",\"2\",\"3\"]" ; // consider escape character so ["1","2","3"]
$number= array("1", "2", "3");