package jsonsyntax
Import Path
github.com/goccy/go-json/internal/jsonsyntax (on go.dev)
Dependency Relation
imports 0 packages, and imported by 3 packages
Involved Source Files
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-Level Variables (only one)
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.
![]() |
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. |