diff options
Diffstat (limited to 'src/pkg/json/struct.go')
| -rw-r--r-- | src/pkg/json/struct.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/json/struct.go b/src/pkg/json/struct.go index 99312e9c4..49766bebe 100644 --- a/src/pkg/json/struct.go +++ b/src/pkg/json/struct.go @@ -188,7 +188,7 @@ func (b *_StructBuilder) Key(k string) Builder { } // Again, case-insensitive. for i := 0; i < t.NumField(); i++ { - if strings.LowerASCII(t.Field(i).Name) == k { + if strings.ToLower(t.Field(i).Name) == k { return &_StructBuilder{ v.Field(i) } } } |
