podman/vendor/gopkg.in/square/go-jose.v2/json
Daniel J Walsh 50ece79387
build(deps): bump github.com/containers/image/v5 from 5.0.0 to 5.1.0
Bumps [github.com/containers/image/v5](https://github.com/containers/image) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/containers/image/releases)
- [Commits](https://github.com/containers/image/compare/v5.0.0...v5.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-12-20 09:30:47 -05:00
..
LICENSE build(deps): bump github.com/containers/image/v5 from 5.0.0 to 5.1.0 2019-12-20 09:30:47 -05:00
README.md build(deps): bump github.com/containers/image/v5 from 5.0.0 to 5.1.0 2019-12-20 09:30:47 -05:00
decode.go build(deps): bump github.com/containers/image/v5 from 5.0.0 to 5.1.0 2019-12-20 09:30:47 -05:00
encode.go build(deps): bump github.com/containers/image/v5 from 5.0.0 to 5.1.0 2019-12-20 09:30:47 -05:00
indent.go build(deps): bump github.com/containers/image/v5 from 5.0.0 to 5.1.0 2019-12-20 09:30:47 -05:00
scanner.go build(deps): bump github.com/containers/image/v5 from 5.0.0 to 5.1.0 2019-12-20 09:30:47 -05:00
stream.go build(deps): bump github.com/containers/image/v5 from 5.0.0 to 5.1.0 2019-12-20 09:30:47 -05:00
tags.go build(deps): bump github.com/containers/image/v5 from 5.0.0 to 5.1.0 2019-12-20 09:30:47 -05:00

README.md

Safe JSON

This repository contains a fork of the encoding/json package from Go 1.6.

The following changes were made:

  • Object deserialization uses case-sensitive member name matching instead of case-insensitive matching. This is to avoid differences in the interpretation of JOSE messages between go-jose and libraries written in other languages.
  • When deserializing a JSON object, we check for duplicate keys and reject the input whenever we detect a duplicate. Rather than trying to work with malformed data, we prefer to reject it right away.