go-json

module
v0.0.0-...-6219dc7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2016 License: BSD-3-Clause

README

Build Status

go-json

A "fork" of the golang encoding/json module. Rather than forking the entire golang-go repo, we've taken a snapshot of the encoding/json sub directory of:

https://github.com/golang/go commit 75055de84ab7ad0f36b4c93e5c851ea55b297c95

To active branch for calico is calico The branch master is fixed to the above snapshot.

The calico branch contains a suggested enhancement to disallow unknown fields. The original fix was written by Michael Spiegel michael.m.spiegel@gmail.com, and can be found in the following submission:

The calico branch also contains additional tweaks to:

  • change the error messages to sound less code-oriented (remove the word json, since we also use this for yaml parsing, don't use the word marshal/unmarshal)
  • Add additional info into the field error to indicate the parsed field value

Directories

Path Synopsis
Package json implements encoding and decoding of JSON as defined in RFC 4627.
Package json implements encoding and decoding of JSON as defined in RFC 4627.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL