Browse Source

Tell the user what the default quote/escape/sep characters are

Since there are various versions of the CSV "standard" floating around - most notably how embedded quotes are escaped.
Ken Williams 6 years ago
parent
commit
478a6b1941
1 changed files with 9 additions and 1 deletions
  1. 9
    1
      readme.md

+ 9
- 1
readme.md View File

@@ -20,6 +20,14 @@ create table my_table(a string, b string, ...)
20 20
 
21 21
 ### Custom formatting
22 22
 
23
+The default separator, quote, and escape characters from the `opencsv` library are:
24
+
25
+```
26
+DEFAULT_ESCAPE_CHARACTER \
27
+DEFAULT_QUOTE_CHARACTER  "
28
+DEFAULT_SEPARATOR        ,
29
+```
30
+
23 31
 You can also specify custom separator, quote, or escape characters.
24 32
 
25 33
 ```
@@ -54,4 +62,4 @@ Run `mvn eclipse:eclipse` to generate `.project` and `.classpath` files for ecli
54 62
 
55 63
 ## License
56 64
 
57
-csv-serde is open source and licensed under the [Apache 2 License](http://www.apache.org/licenses/LICENSE-2.0.html).
65
+csv-serde is open source and licensed under the [Apache 2 License](http://www.apache.org/licenses/LICENSE-2.0.html).

Loading…
Cancel
Save