check_response_json: Check that API response is JSON

View source: R/util.R

check_response_jsonR Documentation

Check that API response is JSON

Description

Check that API response is JSON

Usage

check_response_json(response)

Arguments

response

A response object.

Value

NULL. Raises an error if the response is not JSON.


datawookie/retail documentation built on Jan. 11, 2023, 4:07 a.m.