Learn R Programming

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

jsonlite (version 1.6)

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 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.

Copy Link

Version

Install

install.packages('jsonlite')

Monthly Downloads

1,558,986

Version

1.6

License

MIT + file LICENSE

Maintainer

Jeroen Ooms

Last Published

December 7th, 2018

Functions in jsonlite (1.6)

read_json

Read/write JSON
toJSON, fromJSON

Convert R objects to/from JSON
serializeJSON

serialize R objects to JSON
base64

Encode/decode base64
unbox

Unbox a vector or data frame
stream_in, stream_out

Streaming JSON input/output
rbind_pages

Combine pages into a single data frame
flatten

Flatten nested data frames
validate

Validate JSON
prettify, minify

Prettify or minify a JSON string