JSON to XML Converter at fyicenter.com

Q

How to use the JSON to XML Conversion Tool at fyicenter.com?

✍: FYIcenter.com

A

If you want to try the JSON to XML Conversion Tool at fyicenter.com, you can follow this tutorial:

1. Go to the FYIcenter JSON to XML Converter page at fyicenter.com.

2. Enter the following JSON text string in the text area:

{
  "firstName": "John",
  "lastName": "Smith",
  "isAlive": true,
  "age": 25,
  "address": {
    "streetAddress": "21 2nd Street",
    "city": "New York",
    "state": "NY",
    "postalCode": "10021-3100"
  },
  "phoneNumbers": [
    {
      "type": "home",
      "number": "212 555-1234"
    },
    {
      "type": "office",
      "number": "646 555-4567"
    },
    {
      "type": "mobile",
      "number": "123 456-7890"
    }
  ],
  "children": [],
  "spouse": null
}

3. Click the "Convert" button. You see the following XML document in the output area:

<?xml version="1.0"?>
<root>
  <firstName>John</firstName>
  <lastName>Smith</lastName>
  <isAlive>1</isAlive>
  <age>25</age>
  <address>
    <streetAddress>21 2nd Street</streetAddress>
    <city>New York</city>
    <state>NY</state>
    <postalCode>10021-3100</postalCode>
  </address>
  <phoneNumbers>
    <element>
      <type>home</type>
      <number>212 555-1234</number>
    </element>
    <element>
      <type>office</type>
      <number>646 555-4567</number>
    </element>
    <element>
      <type>mobile</type>
      <number>123 456-7890</number>
    </element>
  </phoneNumbers>
  <children/>
  <spouse/>
</root>

The picture below shows you how to use the online JSON to XML conversion tool at fyicenter.com:
JSON to XML Conversion: fyicenter.com

 

JSON to XML Conversion

⇒⇒JSON Tutorials

2017-08-28, 111👍, 0💬