Documentation ¶
Overview ¶
Package json implements an encoder and decoder for a JSON representation of config.Variable.
For the following input:
[]*config.Variable{ &config.Variable{ Key: "HOME", Value: "C:\Users\Gopher", }, &config.Variable{ Key: "USERNAME", Value: "Gopher", }, }
The encoder will output:
{"HOME":"C:\\Users\\Gopher","USERNAME":"Gopher"}
Click to show internal directories.
Click to hide internal directories.