• I just tested this file in a json validator online and got this error message

    Error: Parse error on line 1:
    /* json2.js
    ^
    Expecting ‘STRING’, ‘NUMBER’, ‘NULL’, ‘TRUE’, ‘FALSE’, ‘{‘, ‘[‘, got ‘undefined’

    Can anyone check theirs for me or help me get this straightened out

    my Jetpack is not connecting and I am worried about cross site scripting????

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    That file is not a JSON file itself, but JavaScript for handling JSON files. /* Comments */ are allowed in JavaScript, but not JSON. Your Jetpack problem lies elsewhere. I suggest you use Jetpack’s dedicated support forum where Jetpack experts can help you solve this.

    Thread Starter Kimbert

    (@kimbert)

    I have been in touch with many happiness engineers from Jetpack but have had no success in resolving this problem.

    This is why I am putting this question to the wp et al universe …
    thank you for the info

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘json validator of my json2.js file in wp includes’ is closed to new replies.