Revert "Merge pull request #886 from Simulant87/884-strictmode-javadoc"

This reverts commit 8983ca6da195bd8b7eb9e6655e97a2490d4afa2e, reversing
changes made to d02ac0f2a35f8c8ba56230bc4b67275010d4d617.
This commit is contained in:
Sean Leary 2024-11-03 09:49:50 -06:00
parent ab1b9a3459
commit 61dc2644d8

View File

@ -284,11 +284,10 @@ public class JSONTokener {
* Backslash processing is done. The formal JSON format does not
* allow strings in single quotes, but an implementation is allowed to
* accept them.
* If strictMode is true, this implementation will not accept unbalanced quotes (e.g will not accept <code>"test'</code>).
* If strictMode is true, this implementation will not accept unbalanced quotes (e.g will not accept <code>"test'</code>)
* @param quote The quoting character, either
* <code>"</code>&nbsp;<small>(double quote)</small> or
* <code>'</code>&nbsp;<small>(single quote)</small>.
* @param strictMode If true, this implementation will not accept unbalanced quotes (e.g will not accept <code>"test'</code>).
* @return A String.
* @throws JSONException Unterminated string or unbalanced quotes if strictMode == true.
*/