public class H2oRestGsonHelper
extends java.lang.Object
Constructor and Description |
---|
H2oRestGsonHelper() |
Modifier and Type | Method and Description |
---|---|
static com.google.gson.Gson |
createH2oCompatibleGson()
Create a Gson JSON serializer / deserializer that has custom handling for certain H2O classes for
which our REST API does automagic type conversions.
|
public static com.google.gson.Gson createH2oCompatibleGson()
TODO: this method is copy-pasted from H2oApi.java in a more limited form; refactor. See the comments there.