components/prism-json.min.js


Log

Author Commit Date CI Message
Michael Schmidt 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.
ExE Boss 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.
Michael Schmidt 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.
Marius Schulz 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.
Andrew Assarattanakul 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.
Golmote 12c0b20a 2018-03-08T22:19:01 Decouple minus sign from number pattern in most languages. Close #1110
Golmote 8fc1b031 2017-10-22T14:48:06 JSON: Regexp optimisation + don't use captures if not needed
Golmote 98acd2d7 2017-10-21T14:44:09 JSON: Make strings greedy, remove negative look-ahead for ":". Fix #1204
Golmote 0ca13530 2017-01-10T21:09:36 JSON: Fix property and string patterns performance. Fix #1080
Golmote 25a541d6 2016-09-28T21:16:33 JSON: Fixed issues with properties and strings + added tests. Fix #1025
CupOfTea696 ad2fcd01 2015-12-29T15:54:51 JSON Fixes
CupOfTea696 db367b0b 2015-05-27T16:26:58 JSON numbers in string fix
CupOfTea696 4519754a 2015-05-05T21:05:33 minified version
CupOfTea696 aadacd10 2014-09-22T02:13:29 Removed .min version
CupOfTea696 8a8f6a0a 2014-09-22T02:03:23 JSON Language Added JSON support to prism.