Aronaman
1 month ago

pass data in json

Posted 1 month ago by Aronaman

how to change string to json /object

data:{
    quantity:quantity,
    form_data                                     
  }, // out put ---> form_data:"name=&type_of_organization=&city_id=&type=Room&start_price=300+ETB

to

// output --->   name: null, type_of_organization: null, city_id: "68", type: "Room", 

Please sign in or create an account to participate in this conversation.