use of com.ibm.streamsx.health.vines.model.TermValueTransformer in project streamsx.health by IBMStreams.
the class VinesMessageParser method createGson.
private static Gson createGson() {
GsonBuilder builder = new GsonBuilder();
builder.registerTypeAdapter(ITerm.class, new TermTransformer());
builder.registerTypeAdapter(ITermValue.class, new TermValueTransformer());
builder.registerTypeAdapter(Vines.class, new VinesTransformer());
return builder.create();
}
Aggregations