增加JSON关键词定义

This commit is contained in:
2023-03-28 18:39:05 +08:00
parent 99a5bb1888
commit a3b7072672
2 changed files with 26 additions and 1 deletions

25
tree/consts.go Normal file
View File

@ -0,0 +1,25 @@
// Package tree ...
//
// Description : tree ...
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 2023-03-28 18:32
package tree
const (
// KeywordObjectStart 对象开始标识
KeywordObjectStart = "{"
// KeywordObjectEnd 对象结束标识
KeywordObjectEnd = "}"
// KeywordArrayStart 数组开始标识
KeywordArrayStart = "["
// KeywordArrayEnd 数组结束标识
KeywordArrayEnd = "]"
// KeywordColon 冒号
KeywordColon = ":"
// KeywordDoubleQuote 双引号
KeywordDoubleQuote = `"`
// KeywordEscapeSymbol 转义符号
KeywordEscapeSymbol = `\`
)