code: public static JsonArray fromParser(JsonPullParser parser) throws IOException,
  			JsonFormatException {
  		State state = parser.getEventType();
  
  		if (state == State.VALUE_NULL) {
  			return null;
  		} else if (state != State.START_ARRAY) {
  			throw new JsonFormatException("unexpected token. token=" + state, parser);
  		}
  
  		JsonArray jsonArray = new JsonArray();
  		while ((state = parser.lookAhead()) != State.END_ARRAY) {
  			jsonArray.add(getValue(parser), state);
  		}
  		parser.getEventType();
  
  		return jsonArray;
  	}
docs: Parses the given JSON data as an array.
  @param parser {@link JsonPullParser} with some JSON-formatted data
  @return {@link JsonArray}
  @throws IOException
  @throws JsonFormatException
  @author vvakame