{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/13"}],"enrichment":{"capability":"Converts JSON data to XML format via Python library or CLI tool, with optional Rust acceleration for performance-critical workloads.","skillfed_tags":["data-format-conversion","cli-tool","rust-accelerated"],"use_cases":["Convert JSON API responses to XML when downstream systems or legacy services require XML input.","Batch-convert JSON files to XML from the command line using the json2xml-py CLI tool.","Process JSON data from URLs in Python with automatic security controls (no redirects, private network rejection by default).","Generate XPath 3.1 compliant XML output for standards-based XML processing pipelines.","Accelerate high-volume JSON-to-XML conversion with the optional Rust extension for latency-sensitive applications."],"what_it_does":"json2xml is a Python library and command-line tool for converting JSON data into XML. It handles JSON strings, files, and API responses, producing XPath 3.1 compatible output. The library was originally built on dict2xml but has since integrated that functionality directly, adding type hints, tests, and performance improvements.\n\nThe package offers both a pure Python implementation and an optional Rust extension for acceleration. The pure Python path runs on all supported platforms and versions; the Rust extension is automatically used when available and falls back to Python when a feature isn't natively supported. It depends on defusedxml for secure XML handling and urllib3 for URL fetching, with built-in protections against private network access and oversized responses.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, installs with low friction, and solves a focused problem well. The permissive Apache 2.0 license imposes no restrictions. The optional Rust acceleration is a genuine performance option for throughput-critical work, but the pure Python fallback ensures broad compatibility. Suitable for both library integration and CLI scripting."},"id":"json2xml","links":{"html":"https://skillfed.io/packages/json2xml","md":"https://skillfed.io/packages/json2xml.md","pypi":"https://pypi.org/project/json2xml/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-04","license_spdx":null,"license_treatment":"permissive","name":"json2xml","python_support":"supports_current","summary":"Simple Python Library to convert JSON to XML"},"popularity":{"monthly_downloads":328914,"position":7550,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"6.5.1"}
