Using transform.Unmarshal to parse a CSV

Am trying to parse a CSV but I keep getting error about " wrong number of fields"? Can someone spot this newbie issue? Thanks

{{ with resources.GetRemote "" }}
  {{ warnf "%v" .Content}}
  {{ $csv := .Content | transform.Unmarshal (dict "delimiter" ",")}}
  {{ warnf "%v" $csv}}  

I get the same error on your file from a CSV validator: CSV Validator & Linter on Toolkit Bay

Thanks @regis for spotting that. Going to use JSON output of the remote server instead of CSV then.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.