public class JsonRecordUnmarshaller extends JsonReaderSupport implements RecordUnmarshaller
RecordUnmarshaller implementation for JSON formatted records.JsonRecordParserFactoryeof, in| Constructor and Description |
|---|
JsonRecordUnmarshaller()
Constructs a new JsonRecordUnmarshaller.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
unmarshal(String text)
Unmarshals a single record.
|
isWhitespace, parseValue, readArray, readObject, readString, readUnicode, setReaderpublic JsonRecordUnmarshaller()
public Map<String,Object> unmarshal(String text) throws RecordIOException
RecordUnmarshallerunmarshal in interface RecordUnmarshallertext - the record text to unmarshalRecordIOException - if the record is malformed and cannot be parsed