Learn R Programming

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

jsonlite (version 1.8.4)

A Simple and Robust JSON Parser and Generator for R

Description

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.

Copy Link

Version

Install

install.packages('jsonlite')

Monthly Downloads

1,487,241

Version

1.8.4

License

MIT + file LICENSE

Maintainer

Last Published

December 6th, 2022

Functions in jsonlite (1.8.4)

base64

Encode/decode base64
read_json

Read/write JSON
prettify, minify

Prettify or minify a JSON string
stream_in, stream_out

Streaming JSON input/output
flatten

Flatten nested data frames
rbind_pages

Combine pages into a single data frame
validate

Validate JSON
serializeJSON

serialize R objects to JSON
toJSON, fromJSON

Convert R objects to/from JSON
unbox

Unbox a vector or data frame
gzjson

Gzipped JSON