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

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

//[clika-runtime](../../../../index.md)/[io.clika.runtime](../../index.md)/[Table](../index.md)/[Companion](index.md)/[csvToJsonArray](csvToJsonArray.md)

# csvToJsonArray

[common]\
fun [csvToJsonArray](csvToJsonArray.md)(csvText: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)

CSV text (a header row plus rows) straight to a JSON array of objects, cells typed as the reader infers them.