Package: jsonlite 1.8.9

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_1.8.9.tar.gz
jsonlite_1.8.9.zip(r-4.5)jsonlite_1.8.9.zip(r-4.4)jsonlite_1.8.9.zip(r-4.3)
jsonlite_1.8.9.tgz(r-4.4-x86_64)jsonlite_1.8.9.tgz(r-4.4-arm64)jsonlite_1.8.9.tgz(r-4.3-x86_64)jsonlite_1.8.9.tgz(r-4.3-arm64)
jsonlite_1.8.9.tar.gz(r-4.5-noble)jsonlite_1.8.9.tar.gz(r-4.4-noble)
jsonlite_1.8.9.tgz(r-4.4-emscripten)jsonlite_1.8.9.tgz(r-4.3-emscripten)
jsonlite.pdf |jsonlite.html
jsonlite/json (API)
NEWS

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

Peer review:

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

On CRAN:

jsonparser

20.94 score 382 stars 8.3k packages 26k scripts 1.2M downloads 36 mentions 23 exports 0 dependencies

Last updated 3 months agofrom:86f481d34e. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 22 2024
R-4.5-win-x86_64OKDec 22 2024
R-4.5-linux-x86_64OKDec 22 2024
R-4.4-win-x86_64OKDec 22 2024
R-4.4-mac-x86_64OKDec 22 2024
R-4.4-mac-aarch64OKDec 22 2024
R-4.3-win-x86_64OKDec 22 2024
R-4.3-mac-x86_64OKDec 22 2024
R-4.3-mac-aarch64OKDec 22 2024

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 Dec 22 2024.

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

Combining pages of JSON data with jsonlite

Rendered fromjson-paging.Rmdusingknitr::rmarkdownon Dec 22 2024.

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

Fetching JSON data from REST APIs

Rendered fromjson-apis.Rmdusingknitr::rmarkdownon Dec 22 2024.

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

Getting started with JSON and jsonlite

Rendered fromjson-aaquickstart.Rmdusingknitr::rmarkdownon Dec 22 2024.

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

Simple JSON RPC with OpenCPU

Rendered fromjson-opencpu.pdf.asisusingR.rsp::asison Dec 22 2024.

Last update: 2018-12-05
Started: 2018-12-05

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