Skip to content

Commit be707db

Browse files
author
Daniel Lemire
committed
Added a remark
1 parent 45e2178 commit be707db

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

doc/basics.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ In some cases, you may have valid JSON strings that you do not wish to parse but
186186
// The buffer variable now has "[1,2,3,4]" and new_length has value 9.
187187
```
188188
189+
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.
189190
190191
C++17 Support
191192
-------------

0 commit comments

Comments
 (0)