Read JSON and it's variants from a char stream.
pip install -U json-reader
- See
json_reader/test_scanner.py
cat example.log | python -m json_reader
cat example.log | json_reader
JSON_INDENT
: specify the output indent in integer.BY_LINES
: flag to read stdin line by line, then JSON content must NOT spand cross multiple lines.