// Path: TryGank/app/src/main/java/com/gypsophila/trygank/entity/GankDatePlusBean.java
// public class GankDatePlusBean extends GankBase {
// 
//     public List<String> results;
// }
// 
// Path: TryGank/app/src/main/java/com/gypsophila/trygank/entity/GankIOPlusBean.java
// public class GankIOPlusBean extends GankBase {
// 
//     public List<String> category;
//     public Result results;
// 
//     public class Result {
//         @SerializedName("Android") public List<GankBean> androidList;
//         @SerializedName("休息视频") public List<GankBean> videoList;
//         @SerializedName("iOS") public List<GankBean> iOSList;
//         @SerializedName("福利") public List<GankBean> welfareList;
//         @SerializedName("拓展资源") public List<GankBean> extraList;
//         @SerializedName("瞎推荐") public List<GankBean> recommendList;
//         @SerializedName("App") public List<GankBean> appList;
//     }
// }
// 
// Path: TryGank/app/src/main/java/com/gypsophila/trygank/entity/GankPlusBean.java
// public class GankPlusBean extends GankBase {
// 
//     public List<GankBean> results;
// }
// 
// Path: TryGank/app/src/main/java/com/gypsophila/trygank/entity/SearchPlusBean.java
// public class SearchPlusBean extends GankBase {
// 
//     public int count;
// 
//     public List<SearchBean> results;
// }


import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.gypsophila.trygank.entity.GankDatePlusBean;
import com.gypsophila.trygank.entity.GankIOPlusBean;
import com.gypsophila.trygank.entity.GankPlusBean;
import com.gypsophila.trygank.entity.SearchPlusBean;
package com.gypsophila.trygank.business.gank;


/**
 * Description :
 * Author : AstroGypsophila
 * GitHub  : https://github.com/AstroGypsophila
 * Date   : 2016/10/4
 */
public class GankJsonUtils {

    public static SearchPlusBean readJsonSearchPlusBean(String strJson) {
        Gson gson = new GsonBuilder().setDateFormat("yyyy-MM-dd'T'HH:mm:ss").create();
        SearchPlusBean bean = gson.fromJson(strJson, SearchPlusBean.class);
        return bean;
    }

    public static GankPlusBean readJsonGankPlusBean(String strJson) {
        Gson gson = new GsonBuilder().setDateFormat("yyyy-MM-dd'T'HH:mm:ss").create();
// Path: TryGank/app/src/main/java/com/gypsophila/trygank/entity/GankDatePlusBean.java
// public class GankDatePlusBean extends GankBase {
// 
//     public List<String> results;
// }
// 
// Path: TryGank/app/src/main/java/com/gypsophila/trygank/entity/GankIOPlusBean.java
// public class GankIOPlusBean extends GankBase {
// 
//     public List<String> category;
//     public Result results;
// 
//     public class Result {
//         @SerializedName("Android") public List<GankBean> androidList;
//         @SerializedName("休息视频") public List<GankBean> videoList;
//         @SerializedName("iOS") public List<GankBean> iOSList;
//         @SerializedName("福利") public List<GankBean> welfareList;
//         @SerializedName("拓展资源") public List<GankBean> extraList;
//         @SerializedName("瞎推荐") public List<GankBean> recommendList;
//         @SerializedName("App") public List<GankBean> appList;
//     }
// }
// 
// Path: TryGank/app/src/main/java/com/gypsophila/trygank/entity/GankPlusBean.java
// public class GankPlusBean extends GankBase {
// 
//     public List<GankBean> results;
// }
// 
// Path: TryGank/app/src/main/java/com/gypsophila/trygank/entity/SearchPlusBean.java
// public class SearchPlusBean extends GankBase {
// 
//     public int count;
// 
//     public List<SearchBean> results;
// }


// Path: TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/GankJsonUtils.java
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.gypsophila.trygank.entity.GankDatePlusBean;
import com.gypsophila.trygank.entity.GankIOPlusBean;
import com.gypsophila.trygank.entity.GankPlusBean;
import com.gypsophila.trygank.entity.SearchPlusBean;

package com.gypsophila.trygank.business.gank;


/**
 * Description :
 * Author : AstroGypsophila
 * GitHub  : https://github.com/AstroGypsophila
 * Date   : 2016/10/4
 */
public class GankJsonUtils {

    public static SearchPlusBean readJsonSearchPlusBean(String strJson) {
        Gson gson = new GsonBuilder().setDateFormat("yyyy-MM-dd'T'HH:mm:ss").create();
        SearchPlusBean bean = gson.fromJson(strJson, SearchPlusBean.class);
        return bean;
    }

    public static GankPlusBean readJsonGankPlusBean(String strJson) {
        Gson gson = new GsonBuilder().setDateFormat("yyyy-MM-dd'T'HH:mm:ss").create();
        GankPlusBean bean = gson.fromJson(strJson, GankPlusBean.class);