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

Option to remove comments from JSON output #40

Open
sabsaxo opened this issue Feb 28, 2018 · 5 comments
Open

Option to remove comments from JSON output #40

sabsaxo opened this issue Feb 28, 2018 · 5 comments
Labels

Comments

@sabsaxo
Copy link

sabsaxo commented Feb 28, 2018

I'd like to get rid of the 'comments' ... how can I do that?

@smhg
Copy link
Owner

smhg commented Mar 2, 2018

Which comments?

@smhg smhg added the question label Mar 2, 2018
@smhg smhg closed this as completed Mar 6, 2018
@smhg
Copy link
Owner

smhg commented Mar 6, 2018

Closing, but feel free to add feedback when available.

@sabsaxo
Copy link
Author

sabsaxo commented Mar 6, 2018

Thanks, found my way around it. The object just seemed bloated ...

@arm1n
Copy link

arm1n commented Oct 24, 2018

@smhg Hey there, I wanted to ask the same question - it would be nice to make some output in the JSON files optional. I know that it's used for porting it back to the PO references, but in our case we are using the JSON files to be loaded by our web application and comments are doubling the size of the files, which are large anyways when having a large code base. Do you think this could be added as an option? This would be nice, otherwise we have to postprocess the output, which is rather unefficient - thanks!

@smhg
Copy link
Owner

smhg commented Nov 4, 2018

Would switching off all comments be ok? So you wouldn't get the source file and line number either.
Edit: pinging @arm1n @sabsaxo

@smhg smhg changed the title Add option to ommit stuff from file ... Option to remove comments from JSON output Nov 4, 2018
@smhg smhg reopened this Nov 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants