Skip to content

Commit

Permalink
Support outputting other formats of data
Browse files Browse the repository at this point in the history
  • Loading branch information
zix99 committed Oct 16, 2019
1 parent 1430f13 commit 4ae22d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/expressions/jsonFunctions.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ func kfJson(args []KeyBuilderStage) KeyBuilderStage {
return KeyBuilderStage(func(context KeyBuilderContext) string {
json := args[0](context)
expression := args[1](context)
return gjson.Get(json, expression).Str
return gjson.Get(json, expression).String()
})
}

0 comments on commit 4ae22d7

Please sign in to comment.