Skip to main content

Module format

Module format 

Source
Expand description

Tabular response-body parsing for response_format: csv | excel (#497).

Turns a downloaded file body into a Vec<Value> of JSON objects, so an authenticated file endpoint (a Microsoft Graph …/content download, a signed export URL, …) can be consumed through the same REST source that already owns auth, retry, and context substitution.

Functions§

parse_csv
Parse CSV bytes into records. When has_headers, the first row supplies field names; otherwise fields are named column_0, column_1, … Values are strings (matching the csv source). Streaming RFC-4180 via csv-async, so quoted fields with embedded newlines are handled correctly.
parse_excelexcel
Parse Excel bytes into records. Requires the excel feature.