/jsoncomments

Read JSON-like data, discarding comments

Primary LanguageGo

Go Reader That Removes Comments

Winner of the Most Useless Go Package prize for 2015.

What is it?

Simple wrap-around reader that removes "# to end of line" comments as it reads from the underlying reader.

Useful if you have a the dreaded JSON configuration file and you want to allow comments.

Licence

Do What You Like.

Feel free to copy paste this simple code into your project.

Efficiency

What efficiency?