Custom methods cannot be used for map types and generics
Describe the bug
Custom methods cannot be used for map types and generics
To Reproduce
Test case or steps to reproduce the behavior or.

long to string , So is generics

Expected behavior {"aa":"324"}
Versions Kotlin: 1.4.20 Jackson-module-kotlin: 2.11.3 Jackson-databind: 2.11.3
Would you make a reproduction repository? Also, might give 2.12 a try.

Only valid for data class Neither generic nor map tests work

@dinomite
@ming0804 Did you create a reproduction test case as requested? Copying from a set of screenshots is unnecessary work and a self-contained unit test would be much preferred. You may also want to verify whether issue occurs with 2.12.2 as 2.11.3 is not the latest version available (there is also 2.11.4 patch after it).
https://github.com/ming0804/jackson431test I wonder if this case is feasible ,Maybe I didn’t use jackson correctly @cowtowncoder
Thanks for the repo, I'll try to look at it this week.
Definitely broken and definitely still broken in 2.12 😔
@ming0804 What name should I use for crediting you reporting this issue?
@ming0804 Would you fill it out and email a scan/photo of the result to info at fasterxml dot com? That will allow me to credit you for the test case contribution.
https://github.com/FasterXML/jackson/blob/master/contributor-agreement.pdf