Skip to content

Commit bb72677

Browse files
committed
updated README
1 parent 489482b commit bb72677

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ JSON Lint (EXTENDED)
33

44
A modified version of the JavaScript [JSON parser](https://github.com/zaach/jsonlint/) by Z. Carter.
55

6-
Try a **demo** for the modified JSON parser [jsonlint-ext](https://russaa.github.io/jsonlint-ext/):
7-
the demo page uses the _location information_ for marking JSON errors in an editor;
8-
in addition you can (manually) try the extended options of the JSON verifier, e.g. with/without
6+
Try a **demo** for the modified JSON parser, **[JSON Editor Demo](https://russaa.github.io/jsonlint-ext/example/)**:\
7+
the demo page uses the _location information_ for marking JSON errors in an editor.
8+
In addition, you can try out the extended options of the JSON verifier, e.g. with/without
99
`strict` mode (see details below).
1010

1111

12-
MODIFICATION (russa)
12+
EXTENSION (russa)
1313
----
1414

1515
Modified JSON parser with:
@@ -56,7 +56,9 @@ jsonlint will either report a syntax error with details or pretty print the sour
5656
-l, --location include location information in the result [false]
5757
-S, --strict parse in strict mode, e.g. disallow duplicate keys [false]
5858

59-
### MOD: Location Information
59+
------
60+
61+
### EXT: Location Information
6062

6163
The parser returns position information for parsed JSON objects, i.e.
6264
the location for JSON properties and values within the input-string that is parsed.
@@ -194,7 +196,7 @@ e.g.:
194196
...
195197
```
196198
197-
##### Set custom field for `loc` Object
199+
##### Set custom field name for the `loc` Object
198200
199201
The field name for the `loc` object can be set to something different than
200202
`_loc`, e.g. `__mycustom_name`:
@@ -212,7 +214,7 @@ NOTE for `FALSY` values, the location information will be disabled in parsing re
212214
213215
--------------
214216
215-
### MOD: Strict parsing mode
217+
### EXT: Strict parsing mode
216218
217219
Enable `strict` parsing mode:
218220
```javascript

0 commit comments

Comments
 (0)