YAML to JSON
Description
You can just paste in your YAML or open it from a file. It will be converted to JSON.
Input Arguments
Input Argument | Type | Description | Required? | Advanced Option? | Default |
---|---|---|---|---|---|
YAML | String in YAML format | The YAML code or a file containing YAML. | ✔️ | ❌ | - |
Output
Response | Type | Description |
---|---|---|
JSON response | String | The JSON response from the YAML. |
Power Automate Examples
Simple YAML
We use a simple YAML with four pets
YAML response with our four pets
- Pet: Dog
Identifier: 1000
First name: Eats
Last name: A Lot
- Pet: Cat
Identifier: 1001
First name: Likes
Last name: To Scratch
- Pet: Cat
Identifier: 1002
First name: Furry
Last name: Kitty
- Pet: Duck
Identifier: 1003
First name: Dagobert
Last name: Swimmy
The JSON file saved to OneDrive (Create file) contains the JSON response shown above.
💡
Looking for the response to this example? Scroll up to see the Output tab.
Known Limitations
⚠️
If you experienced other limitations please get in touch with us!