Skip to main content

load_json_from_reader

Function load_json_from_reader 

Source
pub fn load_json_from_reader<R: Read>(
    reader: R,
    table_name: &str,
    source_type: &str,
    source_path: &str,
) -> Result<DataTable>
Expand description

Load JSON data from any Read source into a DataTable.

Accepts either a JSON array of objects ([{...}, {...}]) or JSONL (one JSON object per line). Format is auto-detected.