Skip to content

Jxck/jspp-stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

introduction

JSON pretty print stream

Usage

{"host":"127.0.0.1","ident":"-","user":"frank","time":"[10/Oct/2000:13:55:36 -0700]","req":"GET /apache_pb.gif HTTP/1.0","status":"200","size":"2326","referer":"http://www.example.com/start.html","ua":"Mozilla/4.08 [en] (Win98; I ;Nav)"}

will be

{
  "host": "127.0.0.1",
  "ident": "-",
  "user": "frank",
  "time": "[10/Oct/2000:13:55:36 -0700]",
  "req": "GET /apache_pb.gif HTTP/1.0",
  "status": "200",
  "size": "2326",
  "referer": "http://www.example.com/start.html",
  "ua": "Mozilla/4.08 [en] (Win98; I ;Nav)"
}

from stdin

$ cat test.json | jspp

from file

$ jspp /path/to/file.json

from web

$ jspp http://some.json.com

License

MIT

Author

Jxck https://github.com/Jxck

About

json pritty print stream

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages