Per review on #1067:
- objectToBigInteger(val, dflt, JSONParserConfiguration) uses
cfg.getMaxNumberLength() for the digit-count guard; -1 disables it.
Existing 2-arg form delegates with a default config.
- New public overloads on JSONObject and JSONArray:
getBigInteger(key, cfg) / optBigInteger(key, dflt, cfg).
Existing methods delegate with a default config.
- objectToBigDecimal left unchanged (no expansion path; agreed on PR).
- Tests cover default (1000), raised (2000), lowered (5), disabled (-1),
null config, and JSONArray overloads.
Co-Authored-By: Claude <[email protected]>