Hacker News new | ask | show | jobs
by roberto 1772 days ago
Why JSON? I don't see any benefits in storing `format.txt` as JSON (specially in a file with the txt extension). It just makes editing harder.

This would be better, IMHO:

    csvddfVersion: 1.2
    delimiter: ";"
    doubleQuote: true
    lineTerminator: "\r\n"
    quoteChar: "\""
    skipInitialSpace: true
    header: true
    commentChar: "#"
2 comments

Because what better way to configure a parser than to require it to use a completely different parser for configuration? /s
I thought the same thing at first glance, but it looks like the author is just reusing an existing spec https://specs.frictionlessdata.io/csv-dialect/