PHP - JSON_ENCODE - Remove quotes from value -


i using json_encode display data.

[{"name":"myname001","data":["[date.utc(1961, 1, 1),10]","[date.utc(1962, 1, 1),11]"},{"name":"myname002", "data":["[date.utc(1961, 1, 1),10]","[date.utc(1962, 1, 1),11]" ]] 

how can remove double quotes values data?

[{"name":"myname001","data":[[date.utc(1961, 1, 1),10],[date.utc(1962, 1, 1),11]},{"name":"myname002", "data":[[date.utc(1961, 1, 1),10],[date.utc(1962, 1, 1),11] ]] 

well, easy.

the situation: need bring number put highstock, , not bringing anything.

after did new array int numbers, way coming without double quotes.

i don't know why people give negative without ask why question.

closed.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -