0
点赞
收藏
分享

微信扫一扫

CSS关于AI智能页面布局排列

路西法阁下 2024-01-03 阅读 9
json

在调用Json串生成方法时,提示: No serializer found for class com.jeremxy.domain.EpgDetail and no properties
discovered to create BeanSerializer (to avoid exception, disable SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS)

网上搜索了一般之后,才知道原来如果需要将某个类转成Json串的话,那么必须要求其属性为public,或者提供public的**get()**方法。

注意:必须要是public 的get()方法。

转载于:https://www.cnblogs.com/game-life/p/4371894.html

举报

相关推荐

0 条评论