{"id":23405125,"url":"https://github.com/francescopaolol/xml2json","last_synced_at":"2026-04-17T00:02:17.349Z","repository":{"id":167621504,"uuid":"642532904","full_name":"FrancescoPaoloL/Xml2Json","owner":"FrancescoPaoloL","description":"XML to JSON Converter","archived":false,"fork":false,"pushed_at":"2023-06-18T20:00:48.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-12T18:00:30.719Z","etag":null,"topics":["humble-utility","json","python","xml-parser"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FrancescoPaoloL.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-05-18T19:36:13.000Z","updated_at":"2023-05-18T19:39:47.000Z","dependencies_parsed_at":"2023-07-07T15:00:23.090Z","dependency_job_id":null,"html_url":"https://github.com/FrancescoPaoloL/Xml2Json","commit_stats":null,"previous_names":["francescopaolol/xml2json"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FrancescoPaoloL/Xml2Json","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FrancescoPaoloL%2FXml2Json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FrancescoPaoloL%2FXml2Json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FrancescoPaoloL%2FXml2Json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FrancescoPaoloL%2FXml2Json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FrancescoPaoloL","download_url":"https://codeload.github.com/FrancescoPaoloL/Xml2Json/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FrancescoPaoloL%2FXml2Json/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31909235,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["humble-utility","json","python","xml-parser"],"created_at":"2024-12-22T13:18:18.313Z","updated_at":"2026-04-17T00:02:17.342Z","avatar_url":"https://github.com/FrancescoPaoloL.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# XML to JSON Converter\n\nThis Python script converts XML data into JSON format. It provides two main functions: parse_element() and convert_xml_to_json().\n\n- parse_element(element): Recursively parses an XML element and creates a dictionary representation.\n- convert_xml_to_json(xml_string): Converts an XML string to a JSON string.\n\nTo use the script, provide an XML string or file, and run the script to convert XML to JSON. The resulting JSON string will be printed to the console.\n\n![Python](https://img.shields.io/badge/python-3670A0?style=for-the-badge\u0026logo=python\u0026logoColor=ffdd54)\n\n\n## Languages and Tools\n\u003cp align=\"left\"\u003e \u003ca href=\"https://www.python.org\" target=\"_blank\" rel=\"noreferrer\"\u003e \u003cimg src=\"https://raw.githubusercontent.com/devicons/devicon/master/icons/python/python-original.svg\" alt=\"python\" width=\"40\" height=\"40\"/\u003e \u003c/a\u003e \u003c/p\u003e\n\n## Requirements\n```\nJust Python 3.6.9\n```\n\n## Test coverage\n| Name           | Stmts | Miss | Branch | BrPart | Cover |\n|----------------|-------|------|--------|--------|-------|\n| xml2Json.py    |   27  |   6  |   12   |   2    |  79%  |\n| xml2Json_test.py |  15  |   1  |   4    |   1    |  89%  |\n| TOTAL          |   42  |   7  |   16   |   3    |  83%  |\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details\n\n\u003chr\u003e\n\n## Connect with me\n\u003cp align=\"left\"\u003e\n\u003ca href=\"https://www.linkedin.com/in/francescopl/\" target=\"blank\"\u003e\u003cimg align=\"center\" src=\"https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/linked-in-alt.svg\" alt=\"francescopaololezza\" height=\"20\" width=\"30\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://www.kaggle.com/francescopaolol\" target=\"blank\"\u003e\u003cimg align=\"center\" src=\"https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/kaggle.svg\" alt=\"francescopaololezza\" height=\"20\" width=\"30\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrancescopaolol%2Fxml2json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrancescopaolol%2Fxml2json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrancescopaolol%2Fxml2json/lists"}