hugo/parser/metadecoders
Bjørn Erik Pedersen f669ef6bec
herrors: Improve handling of JSON errors
`*json.UnmarshalTypeError` and `*json.SyntaxError` has a byte `Offset`, so use that.

This commit also reworks/simplifies the errror line matching logic. This also makes the file reading unbuffered, but that should be fine in this error case.

See #5324
2018-10-23 14:35:43 +02:00
..
decoder.go herrors: Improve handling of JSON errors 2018-10-23 14:35:43 +02:00
decoder_test.go
format.go
format_test.go