Support JSON unicode characters in SQL
This commit is contained in:
parent
31ad063ef4
commit
05d4d97707
1 changed files with 1 additions and 1 deletions
|
@ -947,7 +947,7 @@ func (s *scanner) scanObject(chp ...rune) (tok Token, lit string, val interface{
|
|||
switch chn := s.next(); chn {
|
||||
default:
|
||||
return ILLEGAL, buf.String(), val
|
||||
case 'b', 't', 'r', 'n', 'f', '"', '\\':
|
||||
case 'b', 't', 'r', 'n', 'f', 'u', '"', '\\':
|
||||
buf.WriteRune(ch)
|
||||
buf.WriteRune(chn)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue