in aws-ecr-repository/src/main/java/software/amazon/ecr/repository/ReadHandler.java [59:66]
private static Map<String, Object> deserializePolicyText(final String policyText) {
if (policyText == null) return null;
try {
return Translator.MAPPER.readValue(policyText, new TypeReference<HashMap<String,Object>>() {});
} catch (final IOException e) {
throw new CfnInternalFailureException(e);
}
}