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 support for JSON::Writer's omitEndingLineFeed() function #213

Merged
merged 1 commit into from
Aug 23, 2018

Conversation

jimtendo
Copy link
Contributor

The extra line feed left by JSON::Writer causes parsing errors with some other services (e.g. ElectrumX).
The method added here is a defaulted constructor parameter that should not break existing implementations.
That said, instead of having a "boolean" passed in, perhaps this would be better as a Flags-type field to make it more future proof?

@cinemast
Copy link
Owner

cinemast commented Nov 1, 2017

Thank you for detecting this. I will think about the bool vs. flag scenarios. It currently breaks builds for older linux distributions. I will fix that.

@cinemast cinemast changed the base branch from master to develop August 23, 2018 21:19
@cinemast cinemast merged commit b9c373b into cinemast:develop Aug 23, 2018
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