Skip to contents

Extracts the request body from a JSON request

Usage

req_body_json(req, ...)

Arguments

req

A request object

...

Additional arguments to pass to fromJSON when parsing the request body. This will only be used the first time the request body is parsed. Subsequent calls will return the cached result.

Value

The R object representation of the body's JSON content