private boolean writeAccountToJsonResource() {
        return FunctionUtils.doUnchecked(() -> {
            MAPPER.writerWithDefaultPrettyPrinter().writeValue(jsonResource.getFile(), jsonBackedAccounts);
            readAccountsFromJsonResource();
            return true;
        });
    }
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