code: public <T> T read(JsonNode json, Class<T> expectedReturnType) {
          ObjectMapper objectMapper = new ObjectMapper();
          JsonNode result = this.pathComponent.get(json);
          return objectMapper.convertValue(result, expectedReturnType);
      }
docs: Reads content from a JSON payload based on the expression compiled into this instance
  
  @param json The JSON payload to retrieve data from
  @param expectedReturnType The type that the return value is expected to be
  
  @return The content read from the JSON payload