top

Package json implements functions to load the Public key data from an EJSON file, and to walk that data file, encrypting or decrypting any keys which, according to the specification, are marked as encryptable (see README.md for details).

It may be non-obvious why this is implemented using a scanner and not by loading the structure, manipulating it, then dumping it. Since Go's maps are explicitly randomized, that would cause the entire structure to be randomized each time the file was written, rendering diffs over time essentially useless.

Imported by 2 package(s)

  1. github.com/Shopify/ejson
  2. github.com/burl/ejson

Imports 1 package(s)

  1. github.com/dustin/gojson

Test imports 1 package(s)

  1. github.com/smartystreets/goconvey/convey