Skip to content

tscholl2/colorjson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

colorjson

Print JSON in color.

example

This library has two methods: Print and Parse.

Print: takes a string of JSON and an io.Writer and writes the characters of the JSON string surrounded by appropiate ANSI color codes to the writer.

Parse: is a lower level function that calls a given function on each Token. Unlike other parsers, these tokens represent a single character of the initial string.

About

Print JSON to the terminal in color

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages