Skip to content

Commit

Permalink
Merge pull request #946 from Simulant87/928-javadoc-warning-JSONParse…
Browse files Browse the repository at this point in the history
…rConfiguration

#928 add missing javaDoc for JSONParserConfiguration
  • Loading branch information
stleary authored Jan 19, 2025
2 parents 07b1291 + 9218f28 commit 8b857da
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/org/json/JSONParserConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ public boolean isOverwriteDuplicateKey() {
}

/**
* The parser throws an Exception when strict mode is true and tries to parse invalid JSON characters.
* Otherwise, the parser is more relaxed and might tolerate some invalid characters.
*
* @return the current strict mode setting.
*/
public boolean isStrictMode() {
Expand Down

0 comments on commit 8b857da

Please sign in to comment.