Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
encoding/json: Extra space in Decoder.Token SyntaxError messages #26587
Decoder.Token returns SyntaxError with messages containing double spaces after the quoted character (via Decoder.tokenError):
I found this when building a test suite under
I intend to contribute a patch, this issue is mainly to serve as reference and avoid duplication of effort (however small it may be).