Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Parser = parser.Func(func(r io.Reader, s konfig.Values) error { // unmarshal the JSON into map[string]interface{} var dec = json.NewDecoder(r) var d = make(map[string]interface{}) var err = dec.Decode(&d) if err != nil { return err } kpmap.PopFlatten(d, s) return nil })
Parser parses the given json io.Reader and adds values in dot.path notation into the konfig.Store
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.