RSBJsonService {RSBJson} | R Documentation |
The function extracts relevant information from the JSON string to dispatch to the appropriate R wrapper for that particular application
RSBJsonService(jsonString)
jsonString |
character vector of length one containing the JSON string |
object of class json
as returned by toJSON
examplePath <- system.file("examples", "example.json", package = "RSBJson")
exampleCon <- file(description = examplePath, open = "rt")
exampleLines <- readLines(exampleCon)
close(exampleCon)
exampleString <- paste(exampleLines, collapse = "\n")
(string <- RSBJsonService(jsonString = exampleString))