private void loadJsonResourceFrom(final File jsonFile) {
        FunctionUtils.doAndHandle(__ -> {
            try (val reader = new FileReader(jsonFile, StandardCharsets.UTF_8)) {
                val json = JsonValue.readHjson(reader).toString();
                val loadedResource = MAPPER.readValue(json, AuthorizableResources.class);
                resources.put(loadedResource.getNamespace(), loadedResource.getResources());
            }
        });
    }
This is {@link JsonAuthorizableResourceRepository}.

@author Misagh Moayyed
@since 7.2.0
support/cas-server-support-heimdall/src/main/java/org/apereo/cas/heimdall/authorizer/repository/JsonAuthorizableResourceRepository.java