Support Questions

Find answers, ask questions, and share your expertise

Is there a good way to convert curl api json output to csv ?

avatar
Guru

Is there a good way to convert curl api json output to csv ?

Actually when I do curl -X GET "http://lxhdpmasttst001.lowes.com:8088/ws/v1/cluster/scheduler" it gives output to json and I want to load it to hive or want to convert into csv so that everyone can read it easily.

4 REPLIES 4

avatar
Master Mentor

avatar
Master Mentor

@Saurabh Kumar The above link has several options to meet the requirement + json2csv that @Artem Ervits shared in his reply.

avatar
Master Mentor

avatar
Master Mentor

@Saurabh Kumar Hi Saurabh, I see that you post some really good questions. We will really appreciate if you follow up and close the thread by accepting the best answers as it helps future users.