Releases: kongzue/BaseJson
Releases · kongzue/BaseJson
1.2.9.6 版本更新
21 Aug 03:21
Compare
Sorry, something went wrong.
No results found
支持了通过注解 @JsonValue(key) 实现 JavaBean 与 JsonMap 之间的转换,具体请参考文档;
1.2.8版本更新
17 Jun 13:15
Compare
Sorry, something went wrong.
No results found
增加了 .toString(indentSpaces) 缩进 indentSpaces 个空格输出格式化的json文本;
1.2.7版本更新
22 Jan 11:03
Compare
Sorry, something went wrong.
No results found
JsonMap 的继承关系由原先的 ConcurrentHashMap 修改为 LinkedHashMap,以保证内容顺序遵守添加顺序,但可能造成线程不安全,线程安全问题可能需要单另自行解决。
1.2.6.3.2版本更新
12 Jul 06:57
Compare
Sorry, something went wrong.
No results found
支持通过 getParentJsonMap() 和 getParentJsonList() 获取 JsonMap 和 JsonList 的父对象。
修复一些已知问题
1.2.6.3.1版本更新
12 Jul 06:04
Compare
Sorry, something went wrong.
No results found
支持通过 getParentJsonMap() 和 getParentJsonList() 获取 JsonMap 和 JsonList 的父对象。
1.2.6.2版本更新
24 Feb 10:04
Compare
Sorry, something went wrong.
No results found
JsonList 的 JsonMapPreprocessingEvents 增加设置 deleteWhenDataIsNull,当此选项为 true 时,预处理数据接口中返回 null 时将删除此数据;
1.2.5版本更新
22 Jan 08:46
Compare
Sorry, something went wrong.
No results found
JsonList 新增 findJsonMapIndex(key, value) 可根据 key、value 寻找子 JsonMap 位于队列中的索引;
JsonList 新增 findRemove(key, value) 可根据 key、value 寻找子 JsonMap 并删除;
JsonList 新增 remove(JsonMap data) 可寻找子 JsonMap 并删除;
JsonMap 新增 equals(key, value) 可判断指定值是否相同;
1.2.4 正式版发布
10 Jan 07:17
Compare
Sorry, something went wrong.
No results found
新增 JsonListAdapter 支持 json 子字段数据UI适配;
新增 JsonListAdapter 设置 setIfNullSetGone(boolean) 开启后如果数据字段为空那么对应的 UI 会自动隐藏;
1.2.3正式版更新
03 Jan 02:44
Compare
Sorry, something went wrong.
No results found
JsonList、JsonMap 新增构建中用于复写的成功状态、空/异常内容状态方法;
1.2.2版本更新
08 Sep 07:06
Compare
Sorry, something went wrong.
No results found
在对一个不存在的key进行get的情况下默认会生成一个newInstance的return对象以避免空指针。
此时,若返回的对象为JsonMap或者JsonList,在对其进行set添加内容后,该对象将被添加到父json容器中。