...

Text file src/gopkg.in/go-jose/go-jose.v2/json/README.md

Documentation: gopkg.in/go-jose/go-jose.v2/json

     1# Safe JSON
     2
     3This repository contains a fork of the `encoding/json` package from Go 1.6.
     4
     5The following changes were made:
     6
     7* Object deserialization uses case-sensitive member name matching instead of
     8  [case-insensitive matching](https://www.ietf.org/mail-archive/web/json/current/msg03763.html).
     9  This is to avoid differences in the interpretation of JOSE messages between
    10  go-jose and libraries written in other languages.
    11* When deserializing a JSON object, we check for duplicate keys and reject the
    12  input whenever we detect a duplicate. Rather than trying to work with malformed
    13  data, we prefer to reject it right away.

View as plain text