Source File
jsonsyntax.go
Belonging Package
github.com/goccy/go-json/internal/jsonsyntax
// Package jsonsyntax passes the syntax errors of the package jsontext to encoding/json, which reports them in its// own words: jsontext keeps how an error is made, which encoding/json can't see from outside of it.package jsonsyntax// LegacyError is set by the package jsontext. It returns the message and the offset of err, an error of// jsontext, as encoding/json reports a syntax error, and true; or false if err is not a syntax error.var LegacyError func(err error) (msg string, offset int64, ok bool)
![]() |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |