Learn R Programming

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

jsonlite (version 0.9.14)

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,382,776

Version

0.9.14

License

MIT + file LICENSE

Maintainer

Jeroen Ooms

Last Published

December 1st, 2014

Functions in jsonlite (0.9.14)

flatten

Flatten nested data frames
rbind.pages

Combine pages into a single data frame
prettify, minify

Prettify or minify a JSON string
unbox

Unbox a vector or data frame
stream_in, stream_out

Streaming JSON input/output
toMongo

Export to MongoDB
validate

Validate JSON
serializeJSON

serialize R objects to JSON
toJSON, fromJSON

Convert R