code: public static OlapBatch parseJSON(String text, String idFieldName, boolean bDeleteAll) {
  	    Listener listener = new Listener(idFieldName, bDeleteAll);
  	    new JSONAnnie(text).parse(listener);
  	    return listener.result;
  	}
docs: class Listener