parse_json.RdDetects and parses JSON text into R objects
parse_json(x)
| x | Input object |
|---|
Parsed JSON (if detected)
# NOT RUN { ## parse JSON text found on espn's homepage e <- parse_json("http:/www.espn.com/") ## view parsed object str(e, 3) ## parse JSON from html string parse_json('<html>{\"mpg\":21,\"cyl\":6,\"disp\":160,\"lgl\":false}</html>') # }