adobe / json-formula

Query language for JSON documents
http://opensource.adobe.com/json-formula/
Apache License 2.0
19 stars 8 forks source link

Json literals #115

Closed JohnBrinkman closed 8 months ago

JohnBrinkman commented 8 months ago

Description

Fix the grammar to prevent JSON Literals from being too greedy. Change is to the grammar only -- does not affect the implementation. Also discovered/fixed a separate issue where the implementation allowed unterminated JSON Literals

Added a test for each of the above.

Related Issue

https://github.com/adobe/json-formula/issues/113

Tasks