统一格式化参数的方法

This commit is contained in:
fofolee
2025-01-06 09:43:48 +08:00
parent d98966a5b0
commit 2dbd6f0c50
16 changed files with 130 additions and 144 deletions

View File

@@ -54,10 +54,8 @@
"formatString.js": {
"描述": "处理字符串格式化的工具函数,主要用于处理对象序列化和类型转换",
"主要功能": {
"stringifyWithType": "根据值的类型和属性将其转换为字符串,支持带类型标记的对象",
"removeEmptyValues": "递归移除对象中的空值",
"processObject": "递归处理对象的值并格式化成字符串",
"stringifyObject": "格式化对象为JSON字符串根据值的类型决定是否添加引号"
"parseFunction": "解析函数字符串,返回函数名和参数",
"stringifyArgv": "格式化参数为字符串,根据值的类型决定是否添加引号"
}
}
}