Ensure all SQL THINGs are processed correctly from JSON
This commit is contained in:
parent
83edea8a66
commit
2d17f69a8c
1 changed files with 1 additions and 1 deletions
|
@ -749,7 +749,7 @@ type Thing struct {
|
|||
func ParseThing(val string) *Thing {
|
||||
r := strings.NewReader(val)
|
||||
s := newScanner(r)
|
||||
if t, _, v := s.scanThing(); t == THING {
|
||||
if t, _, v := s.scanIdiom(); t == THING {
|
||||
return v.(*Thing)
|
||||
}
|
||||
return nil
|
||||
|
|
Loading…
Reference in a new issue