Get json content from a URL
get_json.Rd
Get json content from a URL
Details
Get information stored on the web in .json format using a URL. The content
is first pulled from the web as text with UTF-8 encoding. Then the text
is passed to jsonlite::fromJSON()
. This workflow ensures that the URL
is not mistaken for a file name rather than web content.
See also
See all the pull_*
functions for examples where this function is
used, e.g., pull_catch()
.