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)
DatumWriter
setSchema
in interface DatumWriter<Object>
public void write(Object datum, Encoder out) throws IOException
DatumWriter
write
in interface DatumWriter<Object>
IOException
Copyright © 2009–2017 The Apache Software Foundation. All rights reserved.