CSV Dialect Description Format
From Just Solve the File Format Problem
(Difference between revisions)
Ross-spencer (Talk | contribs) (Add IA link) |
Ross-spencer (Talk | contribs) (Provide JSON example) |
||
| Line 4: | Line 4: | ||
}} | }} | ||
'''CSV Dialect Dscription Format''' is a [[JSON]]-based format for describing the particular rules for a variety of delimited files, such as [[CSV]] or [[tab delimited]]. It does not describe the format of the data fields within a record of the file; this may be done with [[JSON Table Schema]] or [[CSV Schema]]. | '''CSV Dialect Dscription Format''' is a [[JSON]]-based format for describing the particular rules for a variety of delimited files, such as [[CSV]] or [[tab delimited]]. It does not describe the format of the data fields within a record of the file; this may be done with [[JSON Table Schema]] or [[CSV Schema]]. | ||
| + | |||
| + | == Examples == | ||
| + | |||
| + | <pre> | ||
| + | { | ||
| + | "csvddf_version": 1.0, | ||
| + | "dialect": { | ||
| + | "delimiter": ",", | ||
| + | "doublequote": false, | ||
| + | "lineterminator": "\r\n", | ||
| + | "quotechar": "\"", | ||
| + | "skipinitialspace": false | ||
| + | } | ||
| + | } | ||
| + | </pre> | ||
== Links == | == Links == | ||
Revision as of 19:26, 16 April 2025
CSV Dialect Dscription Format is a JSON-based format for describing the particular rules for a variety of delimited files, such as CSV or tab delimited. It does not describe the format of the data fields within a record of the file; this may be done with JSON Table Schema or CSV Schema.
Examples
{
"csvddf_version": 1.0,
"dialect": {
"delimiter": ",",
"doublequote": false,
"lineterminator": "\r\n",
"quotechar": "\"",
"skipinitialspace": false
}
}