Currently FormatterRegistry has a registerFormatter method but no registerPrinter or registerParser methods. This makes this Spring Boot pull-request a little more verbose than it should be because it's copied the private PrinterConverter and ParserConverter classes.
Comment From: sbrannen
SGTM.
@philwebb, do you want to tackle this one yourself in time for 5.2 RC1? Or shall one of us take it over?
Comment From: philwebb
Sorry, forgot to assign it. Working on it currently.
Comment From: renjie-rm
Does the print method of formatter need to inject the bean itself and then call the formatting method? @philwebb
Comment From: renjie-rm
It cannot be called through Spring like parse?
Comment From: renjie-rm
Looking forward to your reply. Thank you!@philwebb
Comment From: philwebb
@renjie-rm I'm not sure I understand your question. Perhaps you could rephrase it and ask on stackoverflow.com. Feel free to paste a link to the question back here.
Comment From: renjie-rm
@philwebb https://stackoverflow.com/questions/69053343/how-to-use-org-springframework-format-formatter-print Thank you for looking at it