项目作者: dolmen-go

项目描述 :
Extends encoding/json to return unmarshal errors located with JSON Pointer (RFC 6091).
高级语言: Go
项目地址: git://github.com/dolmen-go/jsonptrerror.git
创建时间: 2017-04-10T23:13:40Z
项目社区:https://github.com/dolmen-go/jsonptrerror

开源协议:Apache License 2.0

下载


jsonptrerror - Extends encoding/json with errors reported as JSON Pointer (RFC 6901)

GoDoc
Travis-CI
Codecov
Go Report Card

This package is a wrapper around the standard encoding/json package
to improve the reporting of location for unmarshalling errors:
UnmarshalTypeError are enhanced to also include
a JSON Pointer (see RFC6901) indicating the location of the error: see
jsonptrerror.UnmarshalTypeError.

Status

The aim is code coverage of 100%. Use go coverage tools and consider any
code not covered by the testsuite as never tested and full of bugs.

See latest coverage report at codecov.io.

License

Copyright 2017-2022 Olivier Mengué

Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.