I also needed to have \" things in my json files, so I changed the json.l and json.y files to parse it correctly. According to json.org there are more things which are escapable. But since I don't not need them now, I made it simple. By the way, thank you, that i learned something new today. I never worked with flex/bison before.