Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

Highlighted

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

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
Highlighted

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

Highlighted

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

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

Highlighted

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

Mentor
Highlighted

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

@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.

Don't have an account?
Coming from Hortonworks? Activate your account here