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.
master
Ken Williams 2014-02-14 17:47:46 -06:00
parent bd9c5011ce
commit 478a6b1941
1 changed files with 9 additions and 1 deletions

View File

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