gtsocial-umbx

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

README.md (632B)


      1 # Safe JSON
      2 
      3 This repository contains a fork of the `encoding/json` package from Go 1.6.
      4 
      5 The 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.