Quantcast
Channel: Active questions tagged jq - Stack Overflow
Viewing all articles
Browse latest Browse all 515

I want to convert a text file into one JSON string using jq

$
0
0

I have a text file, I want to make it into a single JSON string with quotes and \n, ideally from the command line. I don't want multiple strings, or dictionaries.


Viewing all articles
Browse latest Browse all 515

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>