-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
formatter: Add add_newline parameter to remove '\n' from the result #1420
Conversation
@tagomoris Could you check this patch? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The feature looks good to me.
But it seems very common thing for all formatters.
How about to add the same parameter in csv/hash/ltsv/single_value/tsv plugins?
@tagomoris Good idea. I will add this parameter to other text formatters. |
Added moris says @tagomoris Could you re-check this? |
LGTM. |
KVS or Queue like plugins don't need
\n
in the json formatted result.This parameter controlls
\n
for such plugins.