Thanks to visit codestin.com
Credit goes to github.com

Skip to content

dhoelle/jsonc2json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jsonc2json

A command-line tool to convert json-with-comments ("jsonc") to json, by stripping comments.

Under the hood, it's just a thin wrapper around the excellent github.com/muhammadmuzzammil1998/jsonc

Usage

$ echo '{"foo":"bar // baz" /* comment 1 */ } // comment 2' | jsonc2json
{"foo":"bar // baz"}

Install

$ go install github.com/dhoelle/jsonc2json

Docker

$ echo '{"foo":"bar // baz" /* comment 1 */ } // comment 2' | docker run -i dhoelle/jsonc2json

About

Convert json-with-comments (jsonc) to json (by stripping comments)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors