mesosphere.marathon.client.utils.ModelUtils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of marathon-client Show documentation
Show all versions of marathon-client Show documentation
A Java API client for Mesosphere's Marathon.
package mesosphere.marathon.client.utils;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
public class ModelUtils {
public static final Gson GSON = new GsonBuilder().setPrettyPrinting()
.disableHtmlEscaping().create();
public static String toString(Object o) {
return GSON.toJson(o);
}
}