I have a requirement like as follows :
I have productid and productname and then I want to create a object which on calling JSON.Stringify
showuld look like following
"[{"product_id":"123","name":"stack"},{"product_id":"456","name":"overflow"}]"
Is it possible to do in javascript...
product_idandname. thats what we would like to know