public static CapacityUnit getFeCUCapacityFromJson(String frontendCUCapacityInJson) throws IOException {
    ObjectMapper objectMapper = new ObjectMapper();
    return objectMapper.readValue(frontendCUCapacityInJson, CapacityUnit.class);
  }
Util to create frontend {@link CapacityUnit} capacity from the provided json string representation.
@param frontendCUCapacityInJson frontend capacity unit in json string.
@return CapacityUnit object representing frontend's CU capacity.
@throws IOException in case of any exception.
ambry-quota/src/main/java/com/github/ambry/quota/capacityunit/JsonCUQuotaDataProviderUtil.java