encoding/json: retrieving underlying reader offset in UnmarshalJSON()? #21589
I am using big json configuration files and trying to produce useful user error messages, at least including the current line in the file.
So my question is: is there any way to retrieve the underlying reader's offset from
go version go1.8.3 linux/amd64
We don't use the issue tracker to ask questions. Please see https://golang.org/wiki/Questions . Thanks.
You can check whether the returned error value is a
Closing because there is no bug here.