Skip to content

Takes any valid JSON input and outputs HTML that transforms the JSON in a neat and consistent way

Notifications You must be signed in to change notification settings

marchoy/pretty-printer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Colorized and Formatted JSON

A Go program that takes any valid JSON as input (from standard input) and outputs (to standard output) HTML that transforms the JSON so that all tokens are consistently colored and the formatting is clean and consistent.

Example

Input JSON fragment:

{"s":[2, 3], "a < b && a >= c":true}

Output view:

{
  "s" : [2, 3],
  "a < b && a >= c" : true
}

About

Takes any valid JSON input and outputs HTML that transforms the JSON in a neat and consistent way

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages