gjson读取参数支持key名称中包含.

This commit is contained in:
2024-12-04 20:50:13 +08:00
parent 355144b623
commit 48639ba59a
3 changed files with 101 additions and 0 deletions

View File

@ -43,3 +43,8 @@ type ExpendArrayResult struct {
PathList []string `json:"path_list"` // 路径列表
PathMap map[string]string `json:"path_map"` // 数据源路径 => 目标路径的处理
}
const (
SpecialKeyStart = "{{#"
SpecialKeyEnd = "#}}"
)