package com.tw.go.plugin.util;
import com.google.gson.GsonBuilder;
public class JSONUtils {
public static Object fromJSON(String json) {
return new GsonBuilder().create().fromJson(json, Object.class);
}
public static String toJSON(Object object) {
return new GsonBuilder().create().toJson(object);
}
}