jsonlite
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.
Downloads
1.5M
Last 30 days
12th
4.7M
Last 90 days
16.8M
Last year
Trend: +3.3% (30d vs prior 30d)
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | ERROR |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (1 non-OK)
re-building of vignette outputs
Error(s) in re-building vignettes: --- re-building ‘json-aaquickstart.Rmd’ using rmarkdown [WARNING] This document format requires a nonempty <title> element. Defaulting to 'json-aaquickstart.knit' as the title. To specify a title, use 'title' in metadata or --metadata title="...". --- finished re-building ‘json-aaquickstart.Rmd’ --- re-building ‘json-apis.Rmd’ using rmarkdown --- finished re-building ‘json-apis.Rmd’ --- re-building ‘json-paging.Rmd’ using rmarkdown --- finished re-building ‘json-paging.Rmd’ --- re-building ‘json-mapping.pdf.asis’ using asis --- finished re-building ‘json-mapping.pdf.asis’ Error in loadVignetteBuilder(pkgdir) : vignette builder 'R.rsp' not found Calls: <Anonymous> -> loadVignetteBuilder Execution halted SUMMARY: processing the following file failed: ‘json-opencpu.pdf.asis’ Error: Vignette re-building failed. Execution halted
Check History
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 10, 2026
re-building of vignette outputs
Error(s) in re-building vignettes: --- re-building ‘json-aaquickstart.Rmd’ using rmarkdown [WARNING] This document format requires a nonempty <title> element. Defaulting to 'json-aaquickstart.knit' as the title. To specify a title, use 'title' in ...[truncated]... loadVignetteBuilder(pkgdir) : vignette builder 'R.rsp' not found Calls: <Anonymous> -> loadVignetteBuilder Execution halted SUMMARY: processing the following file failed: ‘json-opencpu.pdf.asis’ Error: Vignette re-building failed. Execution halted