spring boot 什么注解可以让返回的json数据都为字符串

2025-03-01 06:09:11
推荐回答(1个)
回答1:

@JsonSerialize(using = ToStringSerializer.class)
public Long axId: