您的位置: 首页 > 文章 > Spring Boot解决向前端返回对象时的属性无序问题 Spring Boot解决向前端返回对象时的属性无序问题 分类: 文章 • 2025-06-24 12:48:46 问题: 实体类属性 现在返回EmployeeMatrix对象到前端,属性顺序乱了,通过Postman测试的结果如下所示, 解决方法: 添加@JsonPropertyOrder注解 再次使用Postman测试,如下如所示