Mike,

In JoltTransformRecord I make the following call to do that:

Map<String, Object> recordMap = (Map<String, Object>)
DataTypeUtils.convertRecordFieldtoObject(record,
RecordFieldType.RECORD.getRecordDataType(record.getSchema()));

Regards,
Matt

On Fri, Mar 22, 2019 at 8:55 AM Mike Thomsen <[email protected]> wrote:
>
> What's the best way to get a Map<String, Object> representation of a record?
>
> Thanks,
>
> Mike

Reply via email to