[go: up one dir, main page]

arrow2 0.9.1

Unofficial implementation of Apache Arrow spec in safe Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# JSON read

When compiled with feature `io_json`, you can use this crate to read NDJSON files:

```rust
{{#include ../../../examples/ndjson_read.rs}}
```

Note how deserialization can be performed on a separate thread pool to avoid
blocking the runtime (see also [here](https://ryhl.io/blog/async-what-is-blocking/)).

This crate also supports reading JSON, at the expense of being unable to read the file in chunks.

```rust
{{#include ../../../examples/json_read.rs}}
```