We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
public class User implements java.io.Serializable { private Map<Long, Long> map; public Map<Long, Long> getMap() { return map; } public void setMap(Map<Long, Long> map) { this.map = map; } }
序列化之前:
User user = new User(); Map<Long, Long> map = new HashMap<>(); map.put(null, 1L); user.setMap(map); String hello = demoService.sayHello(user);
序列化之后,map里面的key变成0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
序列化之前:
序列化之后,map里面的key变成0
The text was updated successfully, but these errors were encountered: