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

No Ugly Function #10

Open
araskachoi opened this issue Jan 16, 2019 · 1 comment
Open

No Ugly Function #10

araskachoi opened this issue Jan 16, 2019 · 1 comment

Comments

@araskachoi
Copy link

It would be useful to have an ugly function so that we can strip all of the formatting, color, etc.

It is an incredible trouble when the given value is prettyjson.Marshal'd and has all the ANSI characters included

@cosmotek
Copy link

what's the use case? If you have the original object (before marshal), why not just use json.Marshal?

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

No branches or pull requests

2 participants