tests/languages/json


Log

Author Commit Date CI Message
Michael Schmidt 158caf52 2020-07-30T22:54:34 JSON: Greedy comments (#2479) Comments are now greedy allowing them to break strings, properties, and each other.
Michael Schmidt cbe05ec3 2019-04-23T20:52:47 JSON: Kinda fixed comment issue (#1853) This is a partial workaround for the greedy matching bug so that pure JSON will always be matched correctly while JSON + comments might suffer from some issues.
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.
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 25a541d6 2016-09-28T21:16:33 JSON: Fixed issues with properties and strings + added tests. Fix #1025