Package: jsonlite 2.0.1

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-x86_64)jsonlite_2.0.1.zip(r-4.7-arm64)jsonlite_2.0.1.zip(r-4.6-x86_64)jsonlite_2.0.1.zip(r-4.6-arm64)jsonlite_2.0.1.zip(r-4.5-x86_64)
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
DESCRIPTION |NEWS
card.svg |card.png
jsonlite/json (API)

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

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

On CRAN:

Conda:

jsonparser

21.54 score 403 stars 9.4k packages 65k scripts 1.6M downloads 36 mentions 23 exports 0 dependencies

Last updated from:55a3309697. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK118
linux-devel-x86_64OK155
source / vignettesOK193
linux-release-arm64OK113
linux-release-x86_64OK134
macos-release-arm64OK97
macos-release-x86_64OK186
macos-oldrel-arm64OK102
macos-oldrel-x86_64OK202
windows-devel-arm64OK224
windows-devel-x86_64OK188
windows-release-arm64OK225
windows-release-x86_64OK96
windows-oldrel-x86_64OK103
wasm-releaseOK128

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
1 Introduction | 2 Converting between JSON and R classes | 3 Structural consistency and type safety in dynamic data | Appendices | A Public JSON APIs | B Simple JSON RPC with OpenCPU

Last update: 2026-09-02
Started: 2015-03-25

Combining pages of JSON data with jsonlite
A bidirectional mapping | Paging with jsonlite | Automatically combining many pages

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

Fetching JSON data from REST APIs
Github | CitiBike NYC | Ergast | ProPublica | New York Times | Twitter

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

Getting started with JSON and jsonlite
Simplification | Atomic Vectors | Data Frames | Matrices and Arrays

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

  • Image