-
-
Notifications
You must be signed in to change notification settings - Fork 166
Panic in Go Application When Marshaling Structs #519
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
Comments
2 tasks
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Our application panics when trying to marshal a struct using the github.com/goccy/go-json package. The issue seems to occur when attempting to serialize a struct.
Steps to Reproduce:
Create a new Go file with the following code:
Run the program using the
go run
command.Expected Result:
The program should output the JSON string without any errors, similar to:
{"p":{"i":{"a":"a","b":"b"}}}
Actual Result:
The program panics and does not output the expected JSON string.
Additional Information:
go.mod
The text was updated successfully, but these errors were encountered: