parsers: Parsers

parsersR Documentation

Parsers

Description

Collection of parsers to translate request data.

Usage

parse_multipart(req)

parse_json(req, ...)

Arguments

req

The request object.

...

Additional arguments passed to the internal parsers.

Value

Returns the parsed value as a list or NULL if it failed to parse.

Functions

  • parse_multipart(): Parse multipart/form-data using mime::parse_multipart().

  • parse_json(): Parse multipart/form-data using jsonlite::fromJSON().


JohnCoene/ambiorix documentation built on Jan. 17, 2025, 11:11 p.m.