package
0.0.0-20230225012048-214862532bf5
Repository: https://github.com/go4org/go4.git
Documentation: pkg.go.dev

# Functions

HighlightBytePosition takes a reader and the location in bytes of a parse error (for instance, from json.SyntaxError.Offset) and returns the line, column, and pretty-printed context around the error with an arrow indicating the exact position of the syntax error.