XML to JSON

XML to JSON

Usage

You can just paste in your XML or open it from a file. It will be transfered to JSON.

Input Arguments

Input ArgumentTypeDescriptionRequired?Advanced Option?Default
XMLString in XML formatThe XML code or a file containing XML✔️-

Output

ResponseTypeDescription
JSON responseStringThe JSON response from the XML.

Power Automate Examples

XML

We use a XML with two quiz and in total three questions.

XML quiz
<xml>
<quiz>
<sport>
<q1>
<question>Which one is a correct team name in NBA?</question>
<options>New York Bulls</options>
<options>Los Angeles Kings</options>
<options>Golden State Warriros</options>
<options>Huston Rocket</options>
<answer>Huston Rocket</answer>
</q1>
</sport>
<maths>
<q1>
<question>5 + 7 = ?</question>
<options>10</options>
<options>11</options>
<options>12</options>
<options>13</options>
<answer>12</answer>
</q1>
<q2>
<question>12 - 8 = ?</question>
<options>1</options>
<options>2</options>
<options>3</options>
<options>4</options>
<answer>4</answer>
</q2>
</maths>
</quiz>
</xml>

Picture

There are no options available in this action.

💡

Looking for the response of this example? If you scroll up you see a Output tab.

Power Apps Examples

Known Limtitations

⚠️
If you experienced other limitations please get in touch with us!

Delimiters

The CSV respone always uses comma , as the delimiter. In this version this cannot be changed.