sprig
sprig copied to clipboard
How to convert "a b c" string to json ["a","b","c"]?
I have been looking into sprig library functions since it is used by Argo Workflows and I am at a loss how to convert simple space-delimited string to JSON array of strings with Sprig library!?
What do you want to do? This seems like a job for
{{ splitList " " .AbcValues | toRawJson}}