You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm unable to convert a (map) section of the values file to JSON because of this error:
$ gucci -f test.yaml < g.tpl
V (map):Failed to parse standard input: template: -:4:34: executing "-" at <mustToJson>: error calling mustToJson: json: unsupported type: map[interface {}]interface {}
This is on version v1.6.13, on linux-amd64. I realize this is probably a Strig thing, but maybe there's a newer version of Strig which can be used? Maybe there's a type cast that can be performed?
Here's the template file:
{{- $l := list $.testTwo $.testTwo -}}
{{- range $i := $l }}
{{- range $j := $i }}
V ({{ kindOf $j }}): {{ $j | mustToJson | nindent 2 }}
{{- end }}
{{- end }}
I'm unable to convert a (map) section of the values file to JSON because of this error:
This is on version v1.6.13, on linux-amd64. I realize this is probably a Strig thing, but maybe there's a newer version of Strig which can be used? Maybe there's a type cast that can be performed?
Here's the template file:
And here's a YAML file that triggers the issue:
Thanks!
The text was updated successfully, but these errors were encountered: