Package: jsonlite 2.0.1

Jeroen Ooms

jsonlite: A Simple and Robust JSON Parser and Generator for R

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.

Authors:Jeroen Ooms [aut, cre], Duncan Temple Lang [ctb], Lloyd Hilaiel [cph]

jsonlite_2.0.1.tar.gz
jsonlite_2.0.1.zip(r-4.7)jsonlite_2.0.1.zip(r-4.6)jsonlite_2.0.1.zip(r-4.5)
jsonlite_2.0.1.tgz(r-4.6-x86_64)jsonlite_2.0.1.tgz(r-4.6-arm64)jsonlite_2.0.1.tgz(r-4.5-x86_64)jsonlite_2.0.1.tgz(r-4.5-arm64)
jsonlite_2.0.1.tar.gz(r-4.7-arm64)jsonlite_2.0.1.tar.gz(r-4.7-x86_64)jsonlite_2.0.1.tar.gz(r-4.6-arm64)jsonlite_2.0.1.tar.gz(r-4.6-x86_64)
jsonlite_2.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
jsonlite/json (API)
NEWS

# Install 'jsonlite' in R:
install.packages('jsonlite', repos = c('https://ar-puuk.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/jeroen/jsonlite/issues

On CRAN:

Conda:

jsonparser

20.37 score 404 stars 9.1k packages 59k scripts 1.5M downloads 23 exports 0 dependencies

Last updated from:7d150be909. Checks:13 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK137
linux-devel-x86_64OK373
source / vignettesOK175
linux-release-arm64OK124
linux-release-x86_64OK125
macos-release-arm64OK97
macos-release-x86_64OK344
macos-oldrel-arm64OK107
macos-oldrel-x86_64OK227
windows-develOK110
windows-releaseOK114
windows-oldrelOK93
wasm-releaseOK89

Exports:as_gzjson_b64as_gzjson_rawbase64_decbase64_encbase64url_decbase64url_encflattenfromJSONminifyparse_gzjson_b64parse_gzjson_rawparse_jsonprettifyrbind_pagesread_jsonserializeJSONstream_instream_outtoJSONunboxunserializeJSONvalidatewrite_json

Dependencies:

A mapping between JSON data and R objects

Rendered fromjson-mapping.pdf.asisusingR.rsp::asison Jun 06 2026.

Last update: 2015-03-25
Started: 2015-03-25

Combining pages of JSON data with jsonlite

Rendered fromjson-paging.Rmdusingknitr::rmarkdownon Jun 06 2026.

Last update: 2022-01-16
Started: 2014-07-26

Fetching JSON data from REST APIs

Rendered fromjson-apis.Rmdusingknitr::rmarkdownon Jun 06 2026.

Last update: 2022-01-16
Started: 2014-07-27

Getting started with JSON and jsonlite

Rendered fromjson-aaquickstart.Rmdusingknitr::rmarkdownon Jun 06 2026.

Last update: 2016-12-30
Started: 2014-08-02

Readme and manuals

Help Manual

Help pageTopics
Encode/decode base64base64 base64url_dec base64url_enc base64_dec base64_enc
Flatten nested data framesflatten
Gzipped JSONas_gzjson_b64 as_gzjson_raw gzjson parse_gzjson_b64 parse_gzjson_raw
Prettify or minify a JSON stringminify prettify prettify, minify
Combine pages into a single data framerbind_pages
Read/write JSONparse_json read_json write_json
serialize R objects to JSONserializeJSON unserializeJSON
Streaming JSON input/outputstream_in stream_in, stream_out stream_out
Convert R objects to/from JSONfromJSON jsonlite toJSON toJSON, fromJSON
Unbox a vector or data frameunbox
Validate JSONvalidate