How to convert XML to JSON in Python – Step by Step guide

preview_player
Показать описание

Learn how you can convert an XML to JSON in Python and the different python modules available

Content

00:00 - Introduction
00:30 - Brief Intro to XML
02:06 - Convert XML to JSON with xmltodict
04:10 - Convert XML to JSON with untagle
05:41 - Convert XML to JSON with pandas
07:22 - Convert XML to JSON with beautifulsoup

All source code available here:

Want to become a software developer? Check out my blog for more tips and guidance:

My 100% Recommended python books:

Hope you enjoy the video and Happy coding! :)
Рекомендации по теме
Комментарии
Автор

Thank you! Very useful video! Hope your chanel will grow

MentoSGamingrus
Автор

I want to remove some element of xml, and do not want that element to print in my final json file. How can I do it?
Please suggest.

navneetsinha
Автор

How to convert xbrl to csv in python ? Thank you.

nghiatran
Автор

parser.Parse(xml_input, True)
xml.parsers.expat.ExpatError: syntax error: line 1, column 0
What is the error??

jersonmosquera