private void readAccountsFromJsonResource() {
        FunctionUtils.doUnchecked(__ -> {
            try (val reader = new InputStreamReader(jsonResource.getInputStream(), StandardCharsets.UTF_8)) {
                val personList = new TypeReference<Map<String, JsonBackedAccount>>() {
                };
                jsonBackedAccounts = MAPPER.readValue(JsonValue.readHjson(reader).toString(), personList);
            }
        });
    }
This is {@link JsonResourcePasswordManagementService}.

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-pm-core/src/main/java/org/apereo/cas/pm/impl/JsonResourcePasswordManagementService.java