// Path: framework/util/jsonparser/BaseParser.java
// public abstract class BaseParser<T extends BaseObject> implements Parser<T> {
//     public abstract T parse(JSONObject json) throws JSONException;
// 
//     public static final JSONObject createJSONParser(InputStream inputStream, String encodeing)
//             throws JSONException, IOException, Exception {
// 
//         BufferedReader in = new BufferedReader(new InputStreamReader(inputStream, encodeing));
//         StringBuffer buffer = new StringBuffer();
//         String line = "";
//         while ((line = in.readLine()) != null) {
//             buffer.append(line);
//         }
//         // LogUtils.debug(buffer.toString());
//         JSONObject jsonObject = new JSONObject(buffer.toString());
//         return jsonObject;
//     }
// 
//     /*
//     * inner builder util 
//     * @param json
//     * @param builder
//     * @return
//     * @throws JSONException
//     * @author sunpengshuai
//     */
//     public final static <V extends BaseObject> List<V> parser(String json, Parser<V> builder,boolean islinked) throws JSONException {
//         JSONArray jsonArray = new JSONArray(json);
//         
//         int n = jsonArray.length();
//         List<V> lists ;
//         if(islinked){
//             lists= new LinkedList<V>();
//         }else{
//             lists= new ArrayList<V>(n);
//         }
//         for (int i = 0; i < n; i++) {
//             lists.add(builder.parse(jsonArray.getJSONObject(i)));
//         }
//         return lists;
//     }
// }
// 
// Path: framework/util/jsonparser/type/CommentSubmitFeedbackResult.java
// public class CommentSubmitFeedbackResult implements BaseObject {
// 	 public CommentSubmitFeedbackResult() {
// 	    }
// 
// 		public int mErrorCode;
//         public String mComment;
// 
// 		public String mType;
// }


import com.elphin.framework.util.jsonparser.BaseParser;
import com.elphin.framework.util.jsonparser.type.CommentSubmitFeedbackResult;
import org.json.JSONException;
import org.json.JSONObject;
package com.elphin.framework.util.jsonparser.parser;


public class CommentSubmitFeedbackResultParser  extends BaseParser<CommentSubmitFeedbackResult> {

    @Override
    public CommentSubmitFeedbackResult parse(JSONObject json) throws JSONException {

// Path: framework/util/jsonparser/BaseParser.java
// public abstract class BaseParser<T extends BaseObject> implements Parser<T> {
//     public abstract T parse(JSONObject json) throws JSONException;
// 
//     public static final JSONObject createJSONParser(InputStream inputStream, String encodeing)
//             throws JSONException, IOException, Exception {
// 
//         BufferedReader in = new BufferedReader(new InputStreamReader(inputStream, encodeing));
//         StringBuffer buffer = new StringBuffer();
//         String line = "";
//         while ((line = in.readLine()) != null) {
//             buffer.append(line);
//         }
//         // LogUtils.debug(buffer.toString());
//         JSONObject jsonObject = new JSONObject(buffer.toString());
//         return jsonObject;
//     }
// 
//     /*
//     * inner builder util 
//     * @param json
//     * @param builder
//     * @return
//     * @throws JSONException
//     * @author sunpengshuai
//     */
//     public final static <V extends BaseObject> List<V> parser(String json, Parser<V> builder,boolean islinked) throws JSONException {
//         JSONArray jsonArray = new JSONArray(json);
//         
//         int n = jsonArray.length();
//         List<V> lists ;
//         if(islinked){
//             lists= new LinkedList<V>();
//         }else{
//             lists= new ArrayList<V>(n);
//         }
//         for (int i = 0; i < n; i++) {
//             lists.add(builder.parse(jsonArray.getJSONObject(i)));
//         }
//         return lists;
//     }
// }
// 
// Path: framework/util/jsonparser/type/CommentSubmitFeedbackResult.java
// public class CommentSubmitFeedbackResult implements BaseObject {
// 	 public CommentSubmitFeedbackResult() {
// 	    }
// 
// 		public int mErrorCode;
//         public String mComment;
// 
// 		public String mType;
// }


// Path: framework/util/jsonparser/parser/CommentSubmitFeedbackResultParser.java
import com.elphin.framework.util.jsonparser.BaseParser;
import com.elphin.framework.util.jsonparser.type.CommentSubmitFeedbackResult;
import org.json.JSONException;
import org.json.JSONObject;

package com.elphin.framework.util.jsonparser.parser;


public class CommentSubmitFeedbackResultParser  extends BaseParser<CommentSubmitFeedbackResult> {

    @Override
    public CommentSubmitFeedbackResult parse(JSONObject json) throws JSONException {

    	CommentSubmitFeedbackResult comment_submit_feedbackResultType = new CommentSubmitFeedbackResult();