forked from mirror/go-json
Add opcode for sorted map
This commit is contained in:
parent
fd37152010
commit
5c3efd11af
|
@ -237,6 +237,13 @@ func (t opType) fieldToStringTagField() opType {
|
|||
{"RootMapKey", "RootMapKeyIndent", "MapKey"},
|
||||
{"MapValue", "MapValueIndent", "MapValue"},
|
||||
{"MapEnd", "MapEndIndent", "Op"},
|
||||
{"SortedMapHead", "SortedMapHeadIndent", "MapHead"},
|
||||
{"SortedMapHeadLoad", "SortedMapHeadLoadIndent", "MapHead"},
|
||||
{"SortedRootMapHead", "SortedRootMapHeadIndent", "MapHead"},
|
||||
{"SortedMapKey", "SortedMapKeyIndent", "MapKey"},
|
||||
{"SortedRootMapKey", "SortedRootMapKeyIndent", "MapKey"},
|
||||
{"SortedMapValue", "SortedMapValueIndent", "MapValue"},
|
||||
{"SortedMapEnd", "SortedMapEndIndent", "Op"},
|
||||
{"StructFieldHead", "StructFieldHeadIndent", "StructField"},
|
||||
{"StructFieldHeadOmitEmpty", "StructFieldHeadOmitEmptyIndent", "StructField"},
|
||||
{"StructFieldHeadStringTag", "StructFieldHeadStringTagIndent", "StructField"},
|
||||
|
|
1620
encode_optype.go
1620
encode_optype.go
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue