vue-json-pretty
vue-json-pretty copied to clipboard
Question: can I collapse certain named field?
Thanks for this nice library. I am using on my report page to show various query results. One of the result contains an array with lots of items and I wonder: if I can make the field to be collapsed by default and just showing items count.
...
requests: [...] // 3 items
You can set :show-length="true" and :deep="1" but then every other node on that level will be collapsed as well.