private void readResourceForInterrupts() {
        FunctionUtils.doUnchecked(__ -> {
            this.interrupts.clear();
            if (ResourceUtils.doesResourceExist(resource)) {
                try (val reader = new InputStreamReader(resource.getInputStream(), StandardCharsets.UTF_8)) {
                    val personList = new TypeReference<Map<String, InterruptResponse>>() {
                    };
                    val data = (Map) MAPPER.readValue(JsonValue.readHjson(reader).toString(), personList);
                    this.interrupts.putAll(data);
                }
            }
        });
    }
This is {@link JsonResourceInterruptInquirer}.

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-interrupt-core/src/main/java/org/apereo/cas/interrupt/JsonResourceInterruptInquirer.java