You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for creating and maintaining this extremely useful library.
I have run into the following issue recently after upgrading to 1.0.1.
Whenever a property name itself contains the string literal "get" as part of its name, it gets replaced with an empty string in the final output. For example: "budget" becomes "bud" or "targets" becomes "tars".
The culprit seems to be in the following method in JsonViewSerializer:
I want to add on to this issue. I think you might also want to check if the method name is simply "get".
I encountered this issue in Spring Boot 2.1 with the org.springframework.data.domain.Page interface which extends org.springframework.data.domain.Slice->org.springframework.data.util.Streamable. Streamable which contains the following method:
Thank you for creating and maintaining this extremely useful library.
I have run into the following issue recently after upgrading to 1.0.1.
Whenever a property name itself contains the string literal "get" as part of its name, it gets replaced with an empty string in the final output. For example: "budget" becomes "bud" or "targets" becomes "tars".
The culprit seems to be in the following method in JsonViewSerializer:
I think
replaceFirst
instead ofreplace
would solve this issue.Thanks!
The text was updated successfully, but these errors were encountered: