json-emacs/json-mode

Narrowing and json-mode

Opened this issue · 1 comments

Hi,

thanks for a very useful mode, I depend on it on a daily basis. One question: is it possible to narrow within json-mode? One of my most common use cases is to extract an object within a large json document and then look around for data. Narrowing is extremely useful for this. However when I narrow to defun nothing happens, so I wonder if it requires some additional code within json-mode to work?

Cheers

It would indeed be very useful to have a way to narrow to the current subtree.