We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
package main import ( "fmt" jsonvalue "github.com/Andrew-M-C/go.jsonvalue" ) func main() { raw := `{"number":""}` n := jsonvalue.MustUnmarshalString(raw) fmt.Println(n.MustGet("number").Int()) }
执行会报错 panic: runtime error: index out of range [0] with length 0
panic: runtime error: index out of range [0] with length 0
这个是设计就是如此还是非预期错误?
The text was updated successfully, but these errors were encountered:
呀这肯定是错误了,我处理下~~
Sorry, something went wrong.
[*] fix: Issue #27
b9b1257
@luomoxu 您可以试一下 go get github.com/Andrew-M-C/go.jsonvalue@feature/v1.3.6 或者 go get github.com/Andrew-M-C/go.jsonvalue@b9b1257
go get github.com/Andrew-M-C/go.jsonvalue@feature/v1.3.6
go get github.com/Andrew-M-C/go.jsonvalue@b9b1257
这个分支修复了俩 bug,过段时间没有新 bug 的话我就打 tag
Fixed at Tag v1.3.6
Andrew-M-C
No branches or pull requests
执行会报错
panic: runtime error: index out of range [0] with length 0
这个是设计就是如此还是非预期错误?
The text was updated successfully, but these errors were encountered: