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
当使用Map/List中间对象转换成Object对象时, 如果Object中没有申明属性, 而需要setABC来注入值时, 不会调用setABC因为没实现...
影响: MVC对象参数, JSON
The text was updated successfully, but these errors were encountered:
额... 没看懂
Sorry, something went wrong.
class a{ int id; public void setId(int id){this.id = id} public void setName(String name){System.out.println(name);} }
String json = "{ id: 1, name: "juqkai" }"
Json.fromJson(a.class, json);
上面代码将不会调用 setName() 方法进行注入
恩,改改咯
恩,正在改
#184 调整注入方式
48b97b3
Issue #184
4a7675a
完成
juqkai
No branches or pull requests
当使用Map/List中间对象转换成Object对象时, 如果Object中没有申明属性, 而需要setABC来注入值时, 不会调用setABC因为没实现...
影响: MVC对象参数, JSON
The text was updated successfully, but these errors were encountered: