JSON validator

Here is a JSON validator.

2 Comments »

  1. Xavier said

    The validator seems to report as invalid any JSON containing escape sequences such as \’, which is the normal way to escape the single quote character. For example, it flunks the folowing:

    {”replyCode”:500, “replyText”:”test \”}

  2. Dave said

    Hi Xavier,

    The following JSON works:

    {
    “replyCode”: 500,
    “replyText”: “test \”"
    }

RSS feed for comments on this post · TrackBack URI

Leave a Comment