Strumento online da XML a JSON



suStrumento online da XML a JSON:

Questo strumento online XML to JSON può aiutarti a convertire stringhe di dati in formato XML in stringhe di dati in formato JSON.

comic xml to json

Altri collegamenti a XML a JSON:

Github: https://github.com/martinblech/xmltodict

xmltodict: http://docs.python-guide.org/en/latest/scenarios/xml/

Converti in JSON con Python XML (con pacchetto xmltodict):

import xmltodict


def convert_xml_to_json(input_str):
    dict = xmltodict.parse(input_str, process_namespaces=True)
    return json.dumps(dict, indent=4)