> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# to_json_array

> to_json_array — Kinetica Rust API

[gpudb\_api](https://docs.kinetica.com/content/api/rust/index.md)::<wbr />[json\_utils](https://docs.kinetica.com/content/api/rust/json_utils/index.md)
[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/json_utils.rs#L34-L44)&#x20;

<pre>`pub fn to_json_array<S: AsRef<str>>(    records: impl IntoIterator<Item = S>,) -> String`</pre>

The records, each already JSON, joined with commas inside brackets, as they are without checking them.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.