public class PredictionJsonMarshaller
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static PredictionJsonMarshaller |
instance |
Constructor and Description |
---|
PredictionJsonMarshaller() |
Modifier and Type | Method and Description |
---|---|
static PredictionJsonMarshaller |
getInstance() |
void |
marshall(Prediction prediction,
StructuredJsonGenerator jsonGenerator)
Marshall the given parameter object, and output to a SdkJsonGenerator
|
private static PredictionJsonMarshaller instance
public void marshall(Prediction prediction, StructuredJsonGenerator jsonGenerator)
public static PredictionJsonMarshaller getInstance()