Open Almenon opened 7 years ago
I tried developing this for a tiny bit. Got it sort-of working but the tabs are wonky.
see https://github.com/Almenon/renderjson/commit/cc0b12ac251d9826e289e795aa831508dbd1bdc1
+1 This would be very useful! We have queries that can return between 1 and 100000 entries, so some control would be great!
It would be nice to have truncation paramater in case there are too many items. set_show_to_level is useful in this regard, but it doesn't cover cases in which there are too many items in the level that you normally want shown.
Just something like this would work:
Alternatively, you could go with the approach used in the chrome developer tools and summarize the items like so: