From be707dbb6ffd735c30031e386aa4e239875c67ca Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Fri, 12 Jun 2020 16:07:34 -0400 Subject: [PATCH] Added a remark --- doc/basics.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/basics.md b/doc/basics.md index 507c43770..88aa1475a 100644 --- a/doc/basics.md +++ b/doc/basics.md @@ -186,6 +186,7 @@ In some cases, you may have valid JSON strings that you do not wish to parse but // The buffer variable now has "[1,2,3,4]" and new_length has value 9. ``` +Though it does not validate the JSON input, it will detect when the document ends with an unterminated string. E.g., it would refuse to minify the string `"this string is not terminated` because of the missing final quote. C++17 Support -------------