public static class Json.Writer extends Object implements DatumWriter<JsonNode>
DatumWriter
for arbitrary Json data.public void setSchema(Schema schema)
DatumWriter
setSchema
in interface DatumWriter<JsonNode>
public void write(JsonNode datum, Encoder out) throws IOException
DatumWriter
write
in interface DatumWriter<JsonNode>
IOException
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.