Skip to content

fpJson: no ability to create LF-terminated file on Windows

fpjson.pp:

    if MultiLine then
      Result:=Result+sLineBreak   

...

  If MultiLine then
    Sep:=','+SLineBreak+Ind       
...

    if MultiLine then
      Result:='{'+sLineBreak+Result+sLineBreak+indentString(options,CurrentIndent-Indent)+'}'

So we cannot create LF-separated formatted json on win32. It is must have. I wish some option in Options enum.

Edited by Alexey Torgashin
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information