增加JSON关键词定义
This commit is contained in:
25
tree/consts.go
Normal file
25
tree/consts.go
Normal 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 = `\`
|
||||
)
|
Reference in New Issue
Block a user