On Sun, Jan 19, 2020 at 4:26 PM Phil Zhang <[email protected]> wrote:
> I met a strange issue, I have a class and it has two usernames, so I call
> them aName and bName, such as:
>
> public class Member{
> private String aName;
> private String bName;
> }
>
> But when jackson convert this to a json response, it will change field
> name to aname and bname, is this a feature or can I avoid this by
> configuration?
>
What exactly are you doing? Please show the code, including configuration
of ObjectMapper (and full class declaration). Class definition alone does
not really show what is happening unfortunately.
-+ Tatu +-
--
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/CAGrxA25MNvNdVSYLWxE4gko_Z5JEkGnqNeff2En8CtLscczQFQ%40mail.gmail.com.