Jeffro

Jeffro / xml2json / 1.0.1

README.md

Table of Contents:

  1. Examples
  2. Demo
  3. Support
  4. Contact


Examples:

  1. Convert XML from Document

    Input

    
                <note>
                    <to>Tove</to>
                    <from>Jani</from>
                    <heading>Reminder</heading>
                    <body>Don't forget me this weekend!</body>
                </note>
            

    Output

    
                {
                    "note": {
                        "body":"Don't forget me this weekend!",
                        "from":"Jani",
                        "heading":"Reminder",
                        "to":"Tov",
                    }
                }
            
  2. Convert XML from URL

    Input

    
                "http://www.w3schools.com/xml/note.xml"
            

    Output

    
                {
                    "note": {
                        "body":"Don't forget me this weekend!",
                        "from":"Jani",
                        "heading":"Reminder",
                        "to":"Tov",
                    },
                    "xml":"version=\"1.0\" encoding=\"UTF-8\""
                }
            

Note: The avg duration in Pricing displays inaccurately and will be adjusted by incoming calls. The current duration resolves within seconds as demonstrated in demo.

Support:


Help support this project. The smallest amount makes a difference.

Donate