Support TAG_Byte_Array, TAG_Int_Array and TAG_Long_Array
This commit is contained in:
@ -249,12 +249,19 @@ func (s *scanner) stateListOrArray(c byte) int {
|
||||
|
||||
func (s *scanner) stateListOrArrayT(c byte) int {
|
||||
if c == ';' {
|
||||
s.step = s.stateBeginValue
|
||||
s.step = s.stateArrayT
|
||||
return scanListType
|
||||
}
|
||||
return s.stateInUnquotedString(c)
|
||||
}
|
||||
|
||||
func (s *scanner) stateArrayT(c byte) int {
|
||||
if c == ']' { // empty array
|
||||
return scanEndValue
|
||||
}
|
||||
return s.stateBeginValue(c)
|
||||
}
|
||||
|
||||
func (s *scanner) stateNeg(c byte) int {
|
||||
if isNumber(c) {
|
||||
s.step = s.stateNum0
|
||||
|
Reference in New Issue
Block a user