YamlToJson
YamlToJson
yaml
type: "io.kestra.plugin.serdes.yaml.YamlToJson"Examples
yaml
id: yaml_to_json
namespace: company.team
tasks:
- id: write_yaml
type: io.kestra.plugin.core.storage.Write
extension: yaml
content: |
---
name: Apple
price: 1.2
---
name: Banana
price: 0.9
- id: to_jsonl
type: io.kestra.plugin.serdes.yaml.YamlToJson
from: "{{ outputs.write_yaml.uri }}"
jsonl: true
Properties
from *Requiredstring
charset string
Default
UTF-8jsonl booleanstring
Default
falseOutputs
uri string
Format
uri