Skip to content

elgris/jsondiff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSONDIFF

A simple little tool that produces readable diff of 2 JSON-able (read "convertible to map[string]interface{}") objects. Useful for diagnostics or debugging

Installation

go get github.com/elgris/jsondiff

Examples of the output

screen shot 2016-05-20 at 13 03 06

Limitation

  • Coloured output tested with bash only, not sure how it will behave with other terminals.
  • The tool converts input data into map[string]interface{} with json encoding/decoding. Hence, types of input map will change during unmarshal step: integers become float64 and so on (check https://golang.org/pkg/encoding/json/ for details).

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages