Learn R Programming

tuber (version 3.0.0)

tuber_json: Parse a JSON response body, tolerating an empty one

Description

A 204 carries no body, and resp_body_json() errors rather than returning nothing.

Usage

tuber_json(resp)

Value

A list, or NULL when the response has no body

Arguments

resp

An httr2 response