code: public static void parseJsonPathElements(Element validateElement, Map<String, Object> validateJsonPathExpressions) {
          List<?> jsonPathElements = DomUtils.getChildElementsByTagName(validateElement, "json-path");
          if (jsonPathElements.size() > 0) {
              for (Iterator<?> jsonPathIterator = jsonPathElements.iterator(); jsonPathIterator.hasNext();) {
                  Element jsonPathElement = (Element) jsonPathIterator.next();
                  String expression = jsonPathElement.getAttribute("expression");
                  if (StringUtils.hasText(expression)) {
                      validateJsonPathExpressions.put(expression, jsonPathElement.getAttribute("value"));
                  }
              }
          }
      }
docs: Parses 'validate' element containing nested 'json-path' elements.
  @param validateElement the validate element to parse
  @param validateJsonPathExpressions adds the parsed json-path elements to this map