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

Trim line with whitespace character #78

Open
wants to merge 1 commit into
base: master
from
Open

Conversation

@jekiapp
Copy link

@jekiapp jekiapp commented Jun 7, 2018

when we have line with only white-space character the decoded object would be '':true. So I saw line.trim() does the trick.

@serbanghita
Copy link

@serbanghita serbanghita commented Aug 19, 2019

👍 This is absolutely needed since a line with a whitespace character produces '': true, in JSON

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

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.