Are you going to disallow embedded tabs and newlines in the JSON? Otherwise you’ll need to write a new parser.