Liking cljdoc? Tell your friends :D

psosf.csv

RFC 4180 CSV as PSOSF uses it: comma-separated, LF line endings (CRLF accepted on reading), fields quoted only when they contain a comma, a quote or a line break, and quotes inside a quoted field doubled.

RFC 4180 CSV as PSOSF uses it: comma-separated, LF line endings (CRLF
accepted on reading), fields quoted only when they contain a comma, a quote
or a line break, and quotes inside a quoted field doubled.
raw docstring

read-recordsclj/s

(read-records s)

Parses CSV text into a vector of records, each a vector of strings. A final line ending is optional. Throws ex-info with :psosf/csv-error on an unterminated quoted field or text after a closing quote.

Parses CSV text into a vector of records, each a vector of strings.
A final line ending is optional. Throws ex-info with :psosf/csv-error on an
unterminated quoted field or text after a closing quote.
sourceraw docstring

write-fieldclj/s

(write-field f)
source

write-recordsclj/s

(write-records records)

Writes records as CSV, quoting only where required, each line ending in LF.

Writes records as CSV, quoting only where required, each line ending in LF.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close