IonToYaml​Ion​To​Yaml

Convert an ION file into YAML format.

yaml
type: "io.kestra.plugin.serdes.yaml.IonToYaml"

Download a CSV file and convert it to YAML format.

yaml
id: ion_to_yaml
namespace: company.team

tasks:
  - id: http_download
    type: io.kestra.plugin.core.http.Download
    uri: https://huggingface.co/datasets/kestra/datasets/raw/main/csv/products.csv

  - id: convert
    type: io.kestra.plugin.serdes.csv.CsvToIon
    from: "{{ outputs.http_download.uri }}"

  - id: to_yaml
    type: io.kestra.plugin.serdes.yaml.IonToYaml
    from: "{{ outputs.convert.uri }}"
Properties

Source file URI

Default UTF-8

The name of a supported charset

Format uri

Number of records converted