A
slightly modified version of the service provided at
jsonlint.com in pure JavaScript:
- options (below) that are specific to the extended version are shown in italics
- extended strict mode:
throws error in case of duplicate properties.
- extended position information mode:
returns additional meta-information about the position of properties/values within the JSON string.
- using this option in combination with reformat JSON will display the
position information in the input box.
- NOTE that reformatting will also convert arrays to Objects
in order to make the position information visible in the returned JSON object.