Class JsonRecordUnmarshaller

    • Constructor Detail

      • JsonRecordUnmarshaller

        public JsonRecordUnmarshaller()
        Constructs a new JsonRecordUnmarshaller.
    • Method Detail

      • unmarshal

        public java.util.Map<java.lang.String,​java.lang.Object> unmarshal​(java.lang.String text)
                                                                         throws RecordIOException
        Description copied from interface: RecordUnmarshaller
        Unmarshals a single record.
        Specified by:
        unmarshal in interface RecordUnmarshaller
        Parameters:
        text - the record text to unmarshal
        Returns:
        the unmarshalled record object
        Throws:
        RecordIOException - if the record is malformed and cannot be parsed