ceph-csi/vendor/github.com/go-jose/go-jose/v3/json
dependabot[bot] f11769dd13 rebase: bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3
Bumps [github.com/go-jose/go-jose/v3](https://github.com/go-jose/go-jose) from 3.0.1 to 3.0.3.
- [Release notes](https://github.com/go-jose/go-jose/releases)
- [Changelog](https://github.com/go-jose/go-jose/blob/v3.0.3/CHANGELOG.md)
- [Commits](https://github.com/go-jose/go-jose/compare/v3.0.1...v3.0.3)

---
updated-dependencies:
- dependency-name: github.com/go-jose/go-jose/v3
  dependency-type: indirect
...

Signed-off-by: Niels de Vos <ndevos@ibm.com>
(cherry picked from commit 5298762c4c)
2024-03-12 09:30:52 +01:00
..
decode.go rebase: bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3 2024-03-12 09:30:52 +01:00
encode.go rebase: bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3 2024-03-12 09:30:52 +01:00
indent.go rebase: bump github.com/hashicorp/vault/api from 1.9.1 to 1.9.2 2023-06-02 09:22:49 +00:00
LICENSE rebase: bump github.com/hashicorp/vault/api from 1.9.1 to 1.9.2 2023-06-02 09:22:49 +00:00
README.md rebase: bump github.com/hashicorp/vault/api from 1.9.1 to 1.9.2 2023-06-02 09:22:49 +00:00
scanner.go rebase: bump github.com/hashicorp/vault/api from 1.9.1 to 1.9.2 2023-06-02 09:22:49 +00:00
stream.go rebase: bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3 2024-03-12 09:30:52 +01:00
tags.go rebase: bump github.com/hashicorp/vault/api from 1.9.1 to 1.9.2 2023-06-02 09:22:49 +00:00

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.