{"modulePath":"github.com/nmintoh/dserver","version":"v5.11.1+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package jsonutils\n\n## Functions\n\n```go\nfunc HumanizeJsonError(err error, data []byte) error\n```\nHumanizeJsonError extracts error offsets and annotates the error with useful context\n\n## Types\n\n```go\ntype HumanizedJsonError struct {\n\tErr       error\n\tLine      int\n\tCharacter int\n}\n```\n\n```go\nfunc NewHumanizedJsonError(err error, data []byte, offset int64) *HumanizedJsonError\n```\n\n```go\nfunc (e *HumanizedJsonError) Error() string\n```\n\n","path":"github.com/nmintoh/dserver/utils/jsonutils","name":"jsonutils","synopsis":"","isRedistributable":true}
