| Input | Output |
|---|---|
| product: name: “example” | {“product”: {“name”: “example”}} |
| products: - “example” - “example2” | {“products”: [“example”, “example2”]} |
The Deserialize: YAML mapper converts a string in YAML format into a JSON object.
| Input | Output |
|---|---|
| product: name: “example” | {“product”: {“name”: “example”}} |
| products: - “example” - “example2” | {“products”: [“example”, “example2”]} |