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
询问有关本项目的使用和其他方面的相关问题。
JSON.register(String.class, new StringToJsonSerializer()); 全局配置了无效,必须每个字段上配置:如下 @JSONField(serializeUsing = StringToJsonSerializer.class) private String client;
springboot3.2 请问下大佬怎么全局配置String类型都按StringToJsonSerializer序列化呢
The text was updated successfully, but these errors were encountered:
你看下这个是不是你需要的
@JSONField(jsonDirect=true)
Sorry, something went wrong.
你看下这个是不是你需要的 @JSONField(jsonDirect=true)
非常感谢大佬解决了这个问题. 我想自定义全局配置一个对象的序列化配置JSON.register(A.class, new ASerializer());这个在springboot3下无效,请教下怎么配置能全局生效呢
No branches or pull requests
请描述您的问题
询问有关本项目的使用和其他方面的相关问题。
JSON.register(String.class, new StringToJsonSerializer());
全局配置了无效,必须每个字段上配置:如下
@JSONField(serializeUsing = StringToJsonSerializer.class)
private String client;
springboot3.2 请问下大佬怎么全局配置String类型都按StringToJsonSerializer序列化呢
The text was updated successfully, but these errors were encountered: