A fast JSON parser and generator optimized for statistical data and the web. Started out as a fork of 'RJSONIO', but has been completely rewritten in recent versions. The package offers flexible, robust, high performance 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.

Maintainer: Jeroen Ooms <jeroen at berkeley.edu>

Author(s): Jeroen Ooms, Duncan Temple Lang, Lloyd Hilaiel

Install package and any missing dependencies by running this line in your R console:

install.packages("jsonlite")

Depends methods
Imports
Suggests httr, curl, plyr, testthat, knitr, rmarkdown, R.rsp, sp
Enhances
Linking to
Reverse
depends
GAR, instaR, jSonarR, oec, RFc, RGoogleAnalyticsPremium, RGoogleFit, rHealthDataGov, RSauceLabs, RWildbook, seleniumPipes, TMDb, webglobe
Reverse
imports
ALA4R, alterryx, analogsea, archivist.github, AutoDeskR, autovarCore, AWR.Kinesis, AWR.KMS, aws.ec2metadata, aws.polly, aws.ses, aws.sns, aws.sqs, AzureML, backblazer, bea.R, BEQI2, bigQueryR, bigrquery, binman, binomen, biomartr, BIOMASS, blscrapeR, bold, BoSSA, broman, cablecuttr, captr, cbsodataR, ccafs, cdcfluview, censusapi, censys, ckanr, clarifai, colourlovers, configr, covr, cranlogs, crminer, crosstalk, crunch, CytobankAPI, daff, dagitty, dataone, dataRetrieval, datarobot, dataverse, ddeploy, devtools, diezeit, diffrprojectswidget, discgolf, distcomp, dlstats, docuSignr, dpmr, duckduckr, ECharts2Shiny, ecoengine, EcoGenetics, edpclient, elastic, elasticsearchr, elevatr, emuR, enigma, epidata, etseed, europepmc, eurostat, EventStudy, exCon, fbRads, federalregister, fingertipsR, fitbitScraper, flexdashboard, flora, franc, fulltext, GADMTools, gdns, gender, geoaxe, geojson, geojsonio, geojsonlint, geoparser, getMet, gfer, ggvis, gistr, gitgadget, githubinstall, gmailr, googleAuthR, googleCloudStorageR, googleComputeEngineR, googlesheets, googleVis, googleway, gqlr, graphql, gridSVG, gym, h2o, hansard, HARtools, HIBPwned, highcharter, htmlwidgets, httpcache, httping, httptest, httr, hypothesisr, idbr, IMFData, imfr, inegiR, issueReporter, jose, jsonld, jug, junr, kntnr, lawn, leafletCN, leafletR, learnr, LendingClub, lintr, livechatR, machina, manifestoR, mapr, MBTAr, melviewr, mljar, mnis, mongolite, monkeylearn, mregions, mscstexta4r, mscsweblm4r, mudata, nasadata, ndtv, neotoma, net.security, nneo, openadds, opencage, opencpu, OpenML, originr, osmdata, osrm, owmr, pageviews, pandocfilters, pangaear, parlitools, pdfetch, pinnacle.API, pivottabler, placement, pleiades, plotly, plumber, polidata, postGIStools, protolite, qiitr, qualtRics, Quandl, radiant.data, rAltmetric, randNames, rapiclient, rbcb, rbhl, rbison, rbokeh, rcoreoa, rcorpora, rcrossref, RDataCanvas, RDota2, rdpla, rdrop2, readtext, rebird, rechonest, red, refimpact, rentrez, repijson, request, rerddap, reutils, Rexperigen, rfml, RGA, Rga4gh, rgbif, rgho, rgl, rGoodData, rhandsontable, ridigbio, riem, rif, rinat, RInno, rintrojs, ritis, rjsonapi, rjstat, rlist, rmarkdown, RMixpanel, RNeo4j, rnoaa, rnpn, roadoi, rodham, ropenaq, ROpenDota, ROpenFIGI, ROpenWeatherMap, ROptimizely, rorcid, rosetteApi, rotl, rplos, RPresto, RPublica, RPushbullet, rredlist, rscorecard, RSiteCatalyst, rsnps, RSocrata, rstatscn, RStripe, rsunlight, rtimes, rtweet, rtypeform, rvertnet, rWBclimate, RYandexTranslate, RZabbix, SACCR, sbtools, secret, seeclickfixr, SensusR, servr, SGP, shiny, shinybootstrap2, shinyHeatmaply, shinyjqui, shinyjs, shinyWidgets, SigOptR, slackr, SmarterPoland, SnakeCharmR, SocialMediaMineR, sofa, solrium, solvebio, sparklyr, spectrino, spocc, statsgrokse, stmBrowser, stmCorrViz, stplanr, taxize, telegram, tensorflow, threejs, tidycensus, tidyjson, tidyverse, timevis, trackeR, traits, trelliscope, trelloR, tubern, twilio, ubeR, urlshorteneR, V8, vegalite, vegdata, visNetwork, vkR, wbstats, webchem, webmockr, webshot, webutils, wellknown, whoami, WikidataQueryServiceR, WikidataR, wikipediatrend, WikipediR, wikitaxa, worrms, WufooR, x.ent, XR, yhatr, yummlyr, Zelig, ZeligChoice, ZeligEI
Reverse
suggests
ChemoSpec, cowsay, crul, curl, d3r, data.tree, DataExplorer, dismo, DT, finch, futile.logger, io, jqr, kgschart, listviewer, metricsgraphics, networkD3, openssl, pollstR, qtlcharts, quantmod, rio, soilDB, sunburstR, sysfonts
Reverse
enhances
Reverse
linking to

Package jsonlite
Materials
URL https://arxiv.org/abs/1403.2805 https://www.opencpu.org/posts/jsonlite-a-smarter-json-encoder
Task Views WebTechnologies
Version 1.5
Published 2017-06-01
License MIT + file LICENSE
BugReports http://github.com/jeroen/jsonlite/issues
SystemRequirements
NeedsCompilation yes
Citation
CRAN checks jsonlite check results
Package source jsonlite_1.5.tar.gz