---
title: "CsvReadOptions"
sidebar_label: "CsvReadOptions"
description: "Kotlin binding reference: CsvReadOptions."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.runtime](../index.md)/[CsvReadOptions](index.md)

# CsvReadOptions

[common]\
data class [CsvReadOptions](index.md)(val separator: [Char](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char/index.html) = ',', val hasHeader: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) = true, val nullTokens: [List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)&lt;[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)&gt; = emptyList())

The options of a CSV read: the field [separator](separator.md), whether the first row carries the column names, and the unquoted values that read as null beside an empty field. Column types are inferred.

## Constructors

| | |
|---|---|
| [CsvReadOptions](CsvReadOptions.md) | [common]<br>constructor(separator: [Char](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char/index.html) = ',', hasHeader: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) = true, nullTokens: [List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)&lt;[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)&gt; = emptyList()) |

## Properties

| Name | Summary |
|---|---|
| [hasHeader](hasHeader.md) | [common]<br>val [hasHeader](hasHeader.md): [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) = true |
| [nullTokens](nullTokens.md) | [common]<br>val [nullTokens](nullTokens.md): [List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)&lt;[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)&gt; |
| [separator](separator.md) | [common]<br>val [separator](separator.md): [Char](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char/index.html) = ',' |