YAML to JSON

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 ArgumentTypeDescriptionRequired?Advanced Option?Default
YAMLString in YAML formatThe YAML code or a file containing YAML.✔️-

Output

ResponseTypeDescription
JSON responseStringThe 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

Picture

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!