code: public static List<?> convertArrayOrList(Object target) {
          if (target instanceof JsonNode) {
              return convertArrayOrList((JsonNode) target);
          }
          return target instanceof Object[] ? Arrays.asList((Object[]) target)
                  : target instanceof Collection ? new ArrayList<Object>((Collection<?>) target)
                          : null;
      }
docs: Convert a target object to {@link List}.
  
  @param target
  @return