vignettes/adr-001-JSON-not-XML.Rmd
adr-001-JSON-not-XML.RmdThe BacDive Web Service can be configured to reply either in JSON or XML. The former is used in the examples.
R’s jsonlite seems to have replaced the older rjson.
construct_url() needs to append ?format=json and jsonlite::fromJSON() needs to be used for parsing replies.