Is it possible to write an HTML string inside JSON?
Which I want to write like below in my JSON file:
[ { \"id\": \"services.html\",
You can, once you escape the HTML correctly. This page shows what needs to be done.
If using PHP, you could use json_encode()
Hope this helps :)