code: @SuppressWarnings("rawtypes")
      private static Object createIntermediate(JsonNode node, StringBuffer pathSofar, String index,
              String nextIndex) {
          if (node instanceof POJONode) {
              return createIntermediate(extractValue((POJONode) node), pathSofar, index, nextIndex);
          }
          if (node instanceof ContainerNode) {
              ContainerNode temp = (ContainerNode) node;
              JsonNode value = PATTERN_INDEX.matcher(nextIndex).matches() ? temp.arrayNode()
                      : temp.objectNode();
              return createIntermediate(temp, pathSofar, index, value);
          }
          return null;
      }
docs: /*----------------------------------------------------------------------