You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ndjson specification suggests that parsers should have an option for allowing (and ignoring) blank lines. It doesn’t explicitly specify the definition of an “empty line” but I’m guessing an all whitespace line is also ignored.
thank you for this great tool (and idea!), it would make data processing easier. But, could you please at least spell out a more user friendly error when newline is encountered? I had some semi-human readable json that failed to convert, and it took me a long long time to find that i have to filter thru json5 to rid the white space before ndjson-split would work. Thanks!
Activity
ashander commentedon Feb 2, 2017
alternatively,
grep -vE '^\s?$' file | ndjson-*tin6150 commentedon Apr 19, 2020
thank you for this great tool (and idea!), it would make data processing easier. But, could you please at least spell out a more user friendly error when newline is encountered? I had some semi-human readable json that failed to convert, and it took me a long long time to find that i have to filter thru json5 to rid the white space before ndjson-split would work. Thanks!