mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-02 11:05:28 -04:00
refactor: make JSONMLParserConfiguration all-args constructor private, enforcing the builder pattern.
This commit is contained in:
parent
72f4c3e646
commit
9234eab00a
@ -50,7 +50,7 @@ public class JSONMLParserConfiguration {
|
|||||||
* <code>false</code> to try and convert XML string values into a JSON value.
|
* <code>false</code> to try and convert XML string values into a JSON value.
|
||||||
* @param maxNestingDepth <code>int</code> to limit the nesting depth
|
* @param maxNestingDepth <code>int</code> to limit the nesting depth
|
||||||
*/
|
*/
|
||||||
public JSONMLParserConfiguration(final boolean keepStrings, final int maxNestingDepth) {
|
private JSONMLParserConfiguration(final boolean keepStrings, final int maxNestingDepth) {
|
||||||
this.keepStrings = keepStrings;
|
this.keepStrings = keepStrings;
|
||||||
this.maxNestingDepth = maxNestingDepth;
|
this.maxNestingDepth = maxNestingDepth;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user