jsonfinder
jsonfinder copied to clipboard
Support for 'json log files'
Can it also 'do mostly the same' for log files that are structured as a list of (newline delimited) json objects?
I can't imagine this will make the regular case buggy, only seems to require adapting the input size limit enforcement code if any. Then it would be both a json viewer and json log viewer. Json log files are pretty standard at least in the node.js realm (default in popular node.js loggers) and they are more useful than text log files.
One way to get that is to turn the input from a sequence of (newline delimited) json objects to a parent json object that includes the original objects as an array of objects. A bit dirty as it needs to add a meaningless top level object name (e.g. named 'multiple objects' or something) but quite harmless. All that before passing on to the same display code.
?