8
Answers

How to convert coma separate string into json array

Anil Kumar

Anil Kumar

5y
2.1k
1
Hi i have string like "12,23,45" from database now i have to convert that into json array to send in webapi parameter but when i convert that into array i got result like
 
i have string like "12,23,54" in my database  
 
 
  my result:   ["\"93\",\"94\""]
 
but i need like :   ["93","94"]
 
Please help 
 
 
 
Answers (8)