io.split.client.utils.Json Maven / Gradle / Ivy
package io.split.client.utils;
import com.google.gson.Gson;
/**
* Created by adilaijaz on 6/10/16.
*/
public class Json {
private static final Gson _json = new Gson();
public static String toJson(Object obj) {
return _json.toJson(obj);
}
public static T fromJson(String json, Class clz) {
return _json.fromJson(json, clz);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy