Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added JSON output option #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

grahambrooks
Copy link

Reflects the cloc output format but does not output a "header" object.

I needed a faster lines of code program for some historical analysis and came across loc. Certainly much faster but I needed an easily parsable output format - JSON.

Hope the updates are useful.

@cgag
Copy link
Owner

cgag commented Sep 23, 2017

I want to experiment with serde a bit for my own learning, but I have to admit I forgot how simple just doing string interpolation could be, I may end up going with this instead.

Thanks a bunch for the PR, sorry for the huge delay in replying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants