libin
0990bbce4d
jsonUtil Optimize the definition of var ( #80 )
2024-07-30 10:07:32 +08:00
jefferyjob
3c0b974746
docs: update jsonUtil remark ( #48 )
2023-06-02 17:10:12 +08:00
jeffery
ffe9c42a54
jsonutils optimization ( #43 )
2023-05-12 19:04:20 +08:00
jeffery
da0e416c8d
Feature(v2):jsonToStruct supports interface type assignment ( #41 )
...
* Feature(v2):jsonToStruct supports interface type assignment
close #38
- `JsonToStruct` 支持基本数据类型中定义 `interface{}`
- `JsonToStruct` 支持基本数据类型中定义 `any`
- 对于 `parsePrimitiveValue` 的 `string` 类型转义兼容
- 对于 `parsePrimitiveValue` 的 `bool` 类型转义兼容
2023-05-12 18:44:30 +08:00
jeffery
bbe169cba0
fix:parse slices ( #37 )
...
1. Does not support parsing map type
2. Parse the slice type, if the data type is inconsistent, panic error
close #35
2023-05-11 17:41:34 +08:00
jeffery
9a8c60b30a
Feature/generic type ( #19 )
...
Supports generics and any
2023-04-07 19:21:05 +08:00
jeffery
db0ed9068b
- Optimized the validation of the result type in the jsonUtil
package ( #9 )
...
- Fixed the validation error of passing an empty string for the data type in `JsonToStruct`
- 优化了 `jsonUtil` 包中result类型的验证
- 修复了`JsonToStruct`中数据类型传入空字符串的校验错误
2023-03-31 17:23:54 +08:00
李斌
8dec1889c0
unit test jsonToStruct
2023-03-26 13:45:55 +08:00
李斌
1917b21823
fix:json to struct
...
feat:anyutil error code
2023-03-24 11:18:48 +08:00
李斌
6b9ef6780f
refactor:json to struct
2023-03-21 11:27:46 +08:00
libin
3c506d07c3
unit
2023-03-21 08:26:17 +08:00
libin
0f7433c31c
json赋值给结构体
2023-03-12 23:33:43 +08:00