I have a json object scraped from a website
{
area: {
"lang": "en",
"area": "25",
"region": "mea"
},
config: {
"rtl": false,
"breakpoint": 768
}
}
due to the season area and config is not enclosed in double quotes php function json_decode retuerns NULL
how to add double quotes in php to area and config if these are not already enclosed in double quotes?