protected static IllegalArgumentException illegalYear(int year) {
        return new IllegalArgumentException("Only 4 digits numbers are supported. Provided: " + year);
    }
JSON formatting support using 4 spaces for indentation
@since 2.0.54
core/src/main/java/com/alibaba/fastjson2/JSONWriter.java