json icon indicating copy to clipboard operation
json copied to clipboard

Windows line endings are changed to Unix line endings

Open petsuter opened this issue 9 years ago • 1 comments

json -I changes all Windows line endings (CRLF) to Unix line endings (LF).

Would be nice if it would instead preserve the line endings.

petsuter avatar Feb 04 '16 09:02 petsuter

I totally agree. At least let me specify line ending in the command line. I need CRLF to not see ugly warnings in git like this:

warning: LF will be replaced by CRLF in yourfile.json. The file will have its original line endings in your working directory.

erikeckhardt avatar Apr 11 '17 21:04 erikeckhardt