Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
be1e974c
Unverified
Commit
be1e974c
authored
Feb 27, 2018
by
Matthew Fisher
Committed by
GitHub
Feb 27, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3494 from Thiht/patch-1
docs: Fix FromJson comment
parents
e35bd821
a59d2125
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
files.go
pkg/chartutil/files.go
+2
-2
No files found.
pkg/chartutil/files.go
View file @
be1e974c
...
...
@@ -220,10 +220,10 @@ func ToJson(v interface{}) string {
return
string
(
data
)
}
// FromJson converts a
YAML
document into a map[string]interface{}.
// FromJson converts a
JSON
document into a map[string]interface{}.
//
// This is not a general-purpose JSON parser, and will not parse all valid
//
YAML
documents. Additionally, because its intended use is within templates
//
JSON
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.
func
FromJson
(
str
string
)
map
[
string
]
interface
{}
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment