parser_form()
: Form query string parser
parser_json()
: JSON parser. See jsonlite::parse_json()
for more details. (Defaults to using simplifyVectors = TRUE
)
parser_geojson()
: GeoJSON parser. See geojsonsf::geojson_sf()
for more details.
parser_text()
: Helper parser to parse plain text
parser_yaml()
: YAML parser. See yaml::yaml.load()
for more details.
parser_csv()
: CSV parser. See readr::read_csv()
for more details.
parser_tsv()
: TSV parser. See readr::read_tsv()
for more details.
parser_read_file()
: Helper parser that writes the binary body to a file and reads it back again using read_fn
.
This parser should be used when reading from a file is required.
parser_rds()
: RDS parser. See readRDS()
for more details.
parser_feather()
: feather parser. See arrow::read_feather()
for more details.
parser_parquet()
: parquet parser. See arrow::read_parquet()
for more details.
parser_octet()
: Octet stream parser. Returns the raw content.
parser_multi()
: Multi part parser. This parser will then parse each individual body with its respective parser. When this parser is used, req$body
will contain the updated output from webutils::parse_multipart()
by adding the parsed
output to each part. Each part may contain detailed information, such as name
(required), content_type
, content_disposition
, filename
, (raw, original) value
, and parsed
(parsed value
). When performing Plumber route argument matching, each multipart part will match its name
to the parsed
content.
parser_none()
: No parser. Will not process the postBody.