A Simple and Robust JSON Parser and Generator for R
Encode/decode base64
Flatten nested data frames
Convert objects to/from JSON
Gzipped JSON
Prettify or minify a JSON string
Combine pages into a single data frame
Read/write JSON
serialize R objects to JSON
Streaming JSON input/output
Unbox a vector or data frame
Validate JSON
A reasonably fast JSON parser and generator, optimized for statistical data and the web. Offers simple, flexible tools for working with JSON in R, and is particularly powerful for building pipelines and interacting with a web API. The implementation is based on the mapping described in the vignette (Ooms, 2014). In addition to converting JSON data from/to R objects, 'jsonlite' contains functions to stream, validate, and prettify JSON data. The unit tests included with the package verify that all edge cases are encoded and decoded consistently for use with dynamic data in systems and applications.