fix fromjson comment

pull/2942/head
carlory 7 years ago
parent b9d3974df0
commit ad2d8e434a

@ -225,7 +225,7 @@ func ToJson(v interface{}) string {
// This is not a general-purpose JSON parser, and will not parse all valid
// YAML documents. Additionally, because its intended use is within templates
// it tolerates errors. It will insert the returned error message string into
// m["error"] in the returned map.
// m["Error"] in the returned map.
func FromJson(str string) map[string]interface{} {
m := map[string]interface{}{}

Loading…
Cancel
Save