-
-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
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
Marshal panic #441
Comments
I got!!!
// ...
// in some case:code.NextField is nil
for {
switch code.Op { // HERE: line 26, when `code = code.NextField`, -----> code == nil
// ......
if v == 0 {
code = code.NextField // HERE: line: 649 code.NextField == nil
} else {
// ......
}
// ......
}
//...... |
orisano
added a commit
to orisano/go-json
that referenced
this issue
Mar 16, 2023
…ure embedding and omitempty fix goccy#441
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, every one!
The go-json is a great project but just unstable and painc in some cases.
This problem can be reproduced with the following code:
Panic information:
The text was updated successfully, but these errors were encountered: