code: public static Object getValue(Object target, String dPath) {
          if (target instanceof JsonNode) {
              return getValue((JsonNode) target, dPath);
          }
          String[] paths = splitDpath(dPath);
          Object result = target;
          for (String path : paths) {
              result = extractValue(result, path);
          }
          return result instanceof POJONode ? extractValue((POJONode) result) : result;
      }
docs: Extract a value from the target object using DPath expression.
  
  @param target
  @param dPath