Spring MVC 响应JSON处理

2023-10-28 09:51:35 浏览数 (2)

代码语言:javascript复制
@Data
public class ImportConfigBaseDTO {

    @Schema(description = "字段映射JSON")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private String columnMapping;

    @Schema(description = "关系映射JSON")
    private String relationMapping;

}

0 人点赞