会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lshan
博客园
首页
新随笔
联系
订阅
管理
2022年1月10日
properties to json (通过前缀手动创建json, bean) propsutils & ( yml ymal 转json)
摘要: 问题: 动态修改配置文件,让服务感知,动态刷新内存中的数据,立马生效 此时需要手动将properties 转 bean , 替换内存数据 1. properties 转Json 2.yml 转Json 1. properties 转Json eg: properties: name = sea ad
阅读全文
posted @ 2022-01-10 10:35 lshan
阅读(774)
评论(0)
推荐(0)