Skip to content

Commit

Permalink
Merge branch 'master' of github.com:stleary/JSON-java into fix/887
Browse files Browse the repository at this point in the history
  • Loading branch information
rikkarth committed Apr 21, 2024
2 parents 3dcd5b2 + 8983ca6 commit 03def9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/org/json/JSONTokener.java
Original file line number Diff line number Diff line change
Expand Up @@ -284,10 +284,11 @@ public char nextClean() throws JSONException {
* 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.
*/
Expand Down

0 comments on commit 03def9c

Please sign in to comment.