Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
encoding/json: Marshal on byte is not working #24397
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
In your playground example, replace
The Marshal method is defined on a pointer receiver. If you defined it as