Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [filetype-json]

The tag has no usage guidance.

1
vote
1answer
289 views

How to format JSON file in Vim

Given a file with a large JSON object all on one line like {"versions":[{"count":2,"version":""},{"count":1,"version":"1.1.1"},{"count":14,"version":"2.9"},{... How can I format this to be human ...
1
vote
0answers
23 views

How to see very large gziped json file in linux using vi

I have a gzip multiline json file that when unzipped takes few GB of data. Each line is a stand-alone JSON object. How can I quickly see it's content in a stream way?
0
votes
2answers
92 views

Is there a VIM plugin available to add JSONPath / jq / JMESPath path searching?

I have a large JSON file that I am largely familiar with, but I have to jump around the file in VIM quite a bit and tweak options and such. I was wondering if there is a VIM plugin available that ...
0
votes
1answer
79 views

Cut a regex matching line and paste it at another line

I am trying to edit a json file, and I need to take out the lines starting and ending with {% and %} respectively and move them to the beginning of the file. I need to do it at different places in a ...
2
votes
1answer
111 views

Make zC close only current and nested folds

How can I make zC fold only the current fold and the ones underneath? now it closes all outer folds. For example, something like this will result in all brackets closing, while I would like to have ...