$object='{"name":"QueryHome","Description":"Knowledge Sharing Website"}'; $array = json_decode($object);
{"general":{ "round-corner":"0", "border-stroke":"2", "background-color":"#ffffff" } }
I have this json string, I know that php variable names doesn't support dashes. So what to do in this case ?