easy-batch job marshallers

marshallers can convert the payload to the target format (xml, json, csv ...)

Built-in marshallers

 

 


 

 

Notes on Record marshalling

By default, DelimitedRecordMarshaller, FixedLengthRecordMarshaller, OpenCsvRecordMarshaller and ApacheCommonCsvRecordMarshaller do not support recursive (deep) grouped POJOs.

Custom field extraction

In order to better control how to extract and format the fields of the domain object, you can implement the FieldExtractor interface and provide an implementation during the construction of the marshaller. Easy Batch provides BeanFieldExtractor to extract fields from POJO using Java Bean conventions. BeanFieldExtractor can also use the format field TypeConverter by registering a custom.

References

https://github.com/j-easy/easy-batch/wiki/marshallers

Guess you like

Origin www.cnblogs.com/rongfengliang/p/12730155.html