Support Questions
Find answers, ask questions, and share your expertise

Python, Fast ways to convert text (json format) to text csv format

Explorer

Hi all,

I have json as:

{"col1":"IboECKV", "col2":"2018-09-14 21:05:02.000Z", "col3":10, "col4":0}

now I want to chang to text (2 rows) as

col1,col2,col3,col4

"IboECKV","2018-09-14 21:05:02.000Z",10,0

Is there any fast ways to do it?

Many thanks