Converting column of XML strings to column of Jsons

Ankith
New Contributor

Hi,

I want to convert column of XML strings to column of Json in PySpark., using withcolumn and xmltodict method as UDF, is giving Json with '=' instead of ':' in the dictionary. Please let me know if there is any alternative for this.