I have the following text:
{"status": "ok","data": {"grpd": 0,"obj": 073741824,"objInst": 0,"no": null,"values": [3.523422,0,-323123123,3.423,9223372036854775807,0,"test 123.32",0,0,"",0,0]}}
I need to match and place quotes around the numbers in the array "values" so its result should be:
{"status": "ok","data": {"grpd": 0,"obj": 073741824,"objInst": 0,"no": null,"values": ["3.523422","0","-323123123","3.423","9223372036854775807","0","test 123.32","0","0","","0","0"]}}
The numbers can be with float point, negative and normal.
obj.data.valuesanString[]before/when building this JSON? Is there really a problem with these numbers being numbers and not strings, when you only want to place them on the page, as you said? So many questions, just to avoid this hack