Learn R Programming

⚠️There's a newer version (2.0.0) of this package.Take me there.

jsonlite (version 0.9.16)

A Robust, High Performance JSON Parser and Generator for R

Description

A fast JSON parser and generator optimized for statistical data and the web. Started out as a fork of RJSONIO, but has been completely rewritten in recent versions. The package offers flexible, robust, high performance tools for working with JSON in R and is particularly powerful for building pipelines and interacting with web APIs. The implementation is based on the mapping described in the vignette of the package (Ooms, 2014). In addition to drop-in replacements for toJSON and fromJSON, 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.

Copy Link

Version

Install

install.packages('jsonlite')

Monthly Downloads

1,093,822

Version

0.9.16

License

MIT + file LICENSE

Maintainer

Jeroen Ooms

Last Published

April 10th, 2015

Functions in jsonlite (0.9.16)

serializeJSON

serialize R objects to JSON
flatten

Flatten nested data frames
prettify, minify

Prettify or minify a JSON string
validate

Validate JSON
rbind.pages

Combine pages into a single data frame
unbox

Unbox a vector or data frame
stream_in, stream_out

Streaming JSON input/output
toJSON, fromJSON

Convert R