public static class Json.ObjectWriter extends Object implements DatumWriter<Object>
DatumWriter for arbitrary Json data using the object model described
in JsonProperties.| Constructor and Description |
|---|
Json.ObjectWriter() |
public void setSchema(Schema schema)
DatumWritersetSchema in interface DatumWriter<Object>public void write(Object datum, Encoder out) throws IOException
DatumWriterwrite in interface DatumWriter<Object>IOExceptionCopyright © 2009–2017 The Apache Software Foundation. All rights reserved.