Skip to content

weaming/json-reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSON Reader

Read JSON and it's variants from a char stream.

Install

pip install -U json-reader

Usage

  • See json_reader/test_scanner.py
  • cat example.log | python -m json_reader
  • cat example.log | json_reader

Environemnts

  • 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.

About

Read JSON and it's variants from a char stream.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages