public static class Json.ObjectReader extends Object implements DatumReader<Object>
DatumReader for arbitrary Json data using the object model described
in JsonProperties.| Constructor and Description |
|---|
ObjectReader() |
| Modifier and Type | Method and Description |
|---|---|
Object |
read(Object reuse,
Decoder in)
Read a datum.
|
void |
setSchema(Schema schema)
Set the writer's schema.
|
public void setSchema(Schema schema)
DatumReadersetSchema in interface DatumReader<Object>public Object read(Object reuse, Decoder in) throws IOException
DatumReaderread in interface DatumReader<Object>IOExceptionCopyright © 2009–2020 The Apache Software Foundation. All rights reserved.