js json parse allow single quote code example Example: is json valid with single quotes JSON requires double quotes for its strings