private static ArrayList<Object> parseArray(ListIterator<Character> chars) {
		ArrayList<Object> ret = new ArrayList<>();
		boolean sep = true;
		while (chars.hasNext()) {
			if (sep) {
				Object obj = parse(chars);
				if (obj == null)
					return null;
				ret.add(obj);
				sep = false;
				continue;
			}
			char cur = chars.next();
			if (cur == ',')
				sep = true;
			else if (cur == ']')
				return ret;
			else if (!Character.isWhitespace(cur))
				return null;
		}
		return null;
	}