|
b5041cf9
|
2019-02-26T05:41:01
|
|
Fix JSONP support (#1745)
This PR fixes that JSON did not support [JSONP](https://en.wikipedia.org/wiki/JSONP) callback functions.
I also added a JSON example page.
|
|
eee06649
|
2019-02-14T01:18:46
|
|
Added `keyword` alias to JSON's `null` (#1733)
This adds the `keyword` alias to the `null` pattern in JSON.
|
|
da474c77
|
2018-10-26T02:20:21
|
|
Cleaned up JSON (#1596)
This PR removes useless flags (because JS is case sensitive, so is JSON)
and adds one to number to make the pattern more compact.
|
|
8720b3e6
|
2018-10-25T20:56:57
|
|
Adds support for comments in JSON (#1595)
While JSON doesn't explicitly support comments, they're commonly used
and there are supersets of JSON that do make comments available. PrismJS
is not a linter, and this is a useful feature to include when displaying JSON.
|
|
74fe81c6
|
2018-07-21T14:10:18
|
|
Fix bugs in JSON language
* Fix numbers to include negative numbers.
* Remove hexidecimal from numbers it is not a valid value.
* Remove ) and ; from punctuation they are not valid punctuation.
* Include missing tests for punctuation and operators.
|
|
12c0b20a
|
2018-03-08T22:19:01
|
|
Decouple minus sign from number pattern in most languages. Close #1110
|
|
8fc1b031
|
2017-10-22T14:48:06
|
|
JSON: Regexp optimisation + don't use captures if not needed
|
|
98acd2d7
|
2017-10-21T14:44:09
|
|
JSON: Make strings greedy, remove negative look-ahead for ":". Fix #1204
|
|
0ca13530
|
2017-01-10T21:09:36
|
|
JSON: Fix property and string patterns performance. Fix #1080
|
|
25a541d6
|
2016-09-28T21:16:33
|
|
JSON: Fixed issues with properties and strings + added tests. Fix #1025
|
|
ad2fcd01
|
2015-12-29T15:54:51
|
|
JSON Fixes
|
|
db367b0b
|
2015-05-27T16:26:58
|
|
JSON numbers in string fix
|
|
4519754a
|
2015-05-05T21:05:33
|
|
minified version
|
|
aadacd10
|
2014-09-22T02:13:29
|
|
Removed .min version
|
|
8a8f6a0a
|
2014-09-22T02:03:23
|
|
JSON Language
Added JSON support to prism.
|