code: private static List<Object> readList(StreamingInput input)
  		throws IOException
  	{
  		input.next(Token.LIST_START);
  
  		List<Object> result = new ArrayList<Object>();
  		while(input.peek() != Token.LIST_END)
  		{
  			// Read the value
  			Object value = readDynamic(input);
  			result.add(value);
  		}
  
  		input.next(Token.LIST_END);
  
  		return result;
  	}
docs: Read a list from the input.
  
  @param input
  @return
  @throws IOException