---
title: "Discussion on \"Converting Nested JSON Array to CSV with JQ\" | Hashnode"
description: "Discussion on \"Converting Nested JSON Array to CSV with JQ\". Introduction:-\nWe can use the following bash program to convert a JOSN array input to CSV format. This program can handle both flat and deeply nested json files. One use case would be to convert mongo DB json array output to CSV format.\nPrerequisites..."
url: "https://hashnode.com/posts/converting-nested-json-array-to-csv-with-jq/63b8d6ad229573c8623c27c5"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Converting Nested JSON Array to CSV with JQ](https://blogs.padmanabha.com/converting-nested-json-array-to-csv-with-jq?utm_source=hashnode&utm_medium=feed)

Introduction:- We can use the following bash program to convert a JOSN array input to CSV format. This program can handle both flat and deeply nested json files. One use case would be to convert mongo DB json array output to CSV format. Prerequisites...

Jan 7, 2023 · 2 min read · blogs.padmanabha.com  
Read the article

-   [#jsontocsv](https://hashnode.com/tag/jsontocsv)

## Written by

[padmanabha reddy](https://hashnode.com/@Padmanabha)

@Padmanabha

  
[View profile](https://hashnode.com/@Padmanabha)

Software Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
