Worth requesting a feature for I think -- there is one for general String modification hook:
https://github.com/FasterXML/jackson-core/issues/355 but that is for reader side. In this case it would need to be pre-serialization hook for all String values. And probably would make sense to start with CSV. Challenge whether it's for one format or all is that of defining API, I think, since this should probably be per-call functionality (to be able to specify handler for each call separately -- although maybe general handler, or factory thereof, could work). Most per-format and per-call configurability is currently in form of on/off features, however, so alternative could just be one more feature either in CsvGenerator.Feature, or within CsvSchema. And... since there isn't really a safe way to escape such characters, there may also be question of exactly what to replace them with (if anything). So. Someone needs to suggest specific addition(s). I assume other CSV libraries have some support for handling this? -+ Tatu +- On Thu, May 21, 2020 at 5:49 AM Robert Nicholson <[email protected]> wrote: > > https://groups.google.com/forum/m/#!topic/jackson-user/LE62ANfOGWw > > -- > You received this message because you are subscribed to the Google Groups > "jackson-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jackson-user/27318618-00d1-49a9-8f62-63ad75a27266%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "jackson-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jackson-user/CAL4a10jNhCOm3CqNLOenrr7k7jiLtQd-3RWm-NE06C4pAeSidw%40mail.gmail.com.
