sjson_write支持删除数据

This commit is contained in:
2025-05-06 15:42:24 +08:00
parent c7ce590e3b
commit 691bee91a5
2 changed files with 12 additions and 0 deletions

View File

@ -11,6 +11,8 @@ package abstract
type IJsonWrite interface {
// Set 设置一个路径的值
Set(dataPath string, data any) error
// Delete 删除一个路径
Delete(dataPath string) error
// Result 最终结果以字符串形式返回
Result() string
// Map 最终结果以map返回