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.

Version: 1.7.2
Depends: methods
Suggests: httr, curl, plyr, testthat, knitr, rmarkdown, R.rsp, sf
Published: 2020-12-09
Author: Jeroen Ooms ORCID iD [aut, cre], Duncan Temple Lang [ctb], Lloyd Hilaiel [cph] (author of bundled libyajl)
Maintainer: Jeroen Ooms <jeroen at berkeley.edu>
BugReports: https://github.com/jeroen/jsonlite/issues
License: MIT + file LICENSE
URL: https://arxiv.org/abs/1403.2805 (paper)
NeedsCompilation: yes
Citation: jsonlite citation info
Materials: NEWS
In views: WebTechnologies
CRAN checks: jsonlite results

Downloads:

Reference manual: jsonlite.pdf
Vignettes: Getting started with JSON and jsonlite
Fetching JSON data from REST APIs
Combining pages of JSON data with jsonlite
A mapping between JSON data and R objects
Simple JSON RPC with OpenCPU
Package source: jsonlite_1.7.2.tar.gz
Windows binaries: r-devel: jsonlite_1.7.2.zip, r-devel-UCRT: jsonlite_1.7.2.zip, r-release: jsonlite_1.7.2.zip, r-oldrel: jsonlite_1.7.2.zip
macOS binaries: r-release (arm64): jsonlite_1.7.2.tgz, r-release (x86_64): jsonlite_1.7.2.tgz, r-oldrel: jsonlite_1.7.2.tgz
Old sources: jsonlite archive

Reverse dependencies:

Reverse depends: BrowserViz, ClusterJudge, condusco, eFRED, GoogleKnowledgeGraphR, hystReet, instaR, jSonarR, kofdata, nitrcbot, openblender, rgdax, RGoogleAnalyticsPremium, RGoogleFit, rHealthDataGov, Rlabkey, RSauceLabs, RWildbook, seleniumPipes, timeseriesdb, TMDb, webglobe
Reverse imports: academictwitteR, acled.api, acumos, adepro, adobeanalyticsr, adsDataHubR, aiRly, AirSensor, ALA4R, alfr, alfred, algo, allcontributors, alphavantager, altadata, altfuelr, amapGeocode, ambiorix, analogsea, aniview, AnnotationHubData, antaresRead, AnVIL, AnVILPublish, aos, apexcharter, appler, apsimx, arakno, archiveRetriever, archivist.github, arcos, arcpullr, arenar, argparse, ariExtra, asciicast, aurelius, ausplotsR, AutoDeskR, available, AWR.Kinesis, AWR.KMS, aws.comprehend, aws.ec2metadata, aws.iam, aws.kms, aws.lambda, aws.polly, aws.transcribe, aws.translate, AzureAuth, AzureCognitive, AzureCosmosR, AzureGraph, AzureKeyVault, AzureKusto, AzureRMR, AzureTableStor, AzureVM, BARIS, batata, bcdata, bcmaps, bdl, bea.R, beakr, bender, BENMMI, BgeeCall, bigQueryR, bigrquery, billboarder, binman, biobtreeR, BioCircos, biocompute, BiocPkgTools, biodb, biomartr, BIOMASS, biomformat, bitmexr, bizdays, blastula, bold, BoSSA, boxr, bRacatus, brandwatchR, briqr, broman, BrownDog, bs4Dash, bslib, bsplus, bysykkel, c3, calpassapi, cancensus, cansim, captr, caRecall, catSurv, cbpManager, cbsodataR, ccmReportR, cdcfluview, CEDARS, cellbaseR, cellscape, censusapi, censys, checkpoint, chillR, chirps, ChromSCape, cimir, circle, citation, citecorp, civis, ckanr, clarifai, climaemet, ClimMobTools, clinDataReview, cloudml, Cluster.OBeu, CNAIM, coalitions, codebook, codemeta, cognitoR, coinmarketcapr, collidr, colourlovers, colourpicker, cometr, comtradr, concaveman, configr, connectwidgets, covr, cqcr, cranlogs, credentials, crosstalk, crossword.r, crul, crunch, crypto2, cryptowatchR, CSGo, csodata, csvwr, csvy, ctf, ctrdata, cumulocityr, cwbtools, cyclestreets, CytobankAPI, CytoML, czso, daff, dagitty, daiR, danstat, dash, data360r, datadigest, dataone, datapackage.r, dataRetrieval, datarobot, DataSpaceR, dataspice, DatastreamDSWS2R, dataverse, datoramar, debrowser, deckgl, deepdep, DemografixeR, DEPONS2R, DescriptiveStats.OBeu, DEsubs, dextergui, diezeit, diffviewer, dimensionsR, dipsaus, disastr.api, discgolf, disk.frame, distcomp, distill, dkanr, dlstats, DockerParallel, docuSignr, Doscheda, dpmr, DT, DTAT, duckduckr, ECharts2Shiny, echarts4r, echarty, edgarWebR, educationdata, eia, eiopaR, elastic, elevatr, EML, emld, emuR, ENCODExplorerData, epidata, epigraphdb, epitweetr, epwshiftr, esquisse, ether, etrader, europepmc, eurostat, EventStudy, excelR, exCon, exifr, exiftoolr, ezpickr, facerec, factset.analyticsapi.engines, faq, faux, fbRads, federalregister, fedstatAPIr, ffmetadata, ffscrapr, fgga, finbif, fipe, fishtree, fitbitr, fitbitScraper, fitbitViz, fitzRoy, fixerapi, flashCard, flexdashboard, FlickrAPI, flipdownr, flora, FlowRepositoryR, fmpcloudr, foghorn, foreSIGHT, franc, fredr, frostr, ftExtra, fulltext, fusionchartsR, g3viz, GA4GHclient, GADMTools, galah, galvanizer, ganalytics, gargle, gbfs, GCSConnection, gdalcubes, GDCRNATools, gde, gdns, geckor, gender, genderBR, genesysr, GenomicDataCommons, geojson, geojsonio, geojsonlint, geomedb, geometa, GetBCBData, gethr, getMet, getProxy, GetQuandlData, geysertimes, gfer, gfonts, ggimage, ggvis, gh, ghee, ghql, gistr, gitear, gitgadget, githubinstall, gitignore, gkgraphR, Glimma, gmailr, golem, goodpractice, googleAnalyticsR, googleAuthR, googleCloudRunner, googleCloudStorageR, googleCloudVisionR, googleComputeEngineR, googledrive, googleLanguageR, googlenlp, googlePrintr, googler, googlesheets, googleTagManageR, googleVis, googleway, gotop, gprofiler2, gqlr, gradeR, gradientPickerD3, GRANBase, graphhopper, graphql, gridSVG, gtrendsR, guardianapi, gym, h2o, hackeRnews, handlr, hansard, HARtools, hca, helsinki, hereR, HiCBricks, highcharter, hlidacr, htmlwidgets, httping, httptest, httr, hydroscoper, hypothesisr, ibb, ibmAcousticR, ibmsunburst, iCellR, icesTAF, ichimoku, idbr, idpr, iheatmapr, IMFData, imfr, imgrec, ImmuneSpaceR, inegiR, influxdbclient, influxdbr, intensegRid, interacCircos, InteractiveComplexHeatmap, ip2location, ip2proxy, ipeadatar, IRkernel, IsoplotRgui, isoWater, istacr, JamendoR, jaod, JBrowseR, JirAgileR, jmvcore, jose, jrc, json64, jsonld, jsonstat, jsontools, jsTree, keys, keyToEnglish, kibior, kiwisR, klassR, klustR, Knoema, KnowSeq, kntnr, lacrmr, languagelayeR, languageserver, lares, leafletCN, leafletR, leafpm, leanpubr, learnr, LedPred, legco, lifx, lightgbm, liminal, lingtypology, lintr, livechatR, machina, MAGAR, magmaR, majesticR, ManagedCloudProvider, manifestoR, mapboxapi, mapedit, mapping, mapr, mapscape, matahari, MazamaLocationUtils, measurementProtocol, mediacloudr, medrxivr, metabolomicsWorkbenchR, MetaDBparse, metaseqR2, meteoland, metro, micar, microdemic, Microsoft365R, migraph, MIGSA, mindr, miniMeta, mitre, mlbstatsR, mleap, mlflow, mlr3oml, mnis, modchart, modelStudio, MODISTools, MODIStsp, moexer, mongolite, mongopipe, mortyr, mregions, mscstexta4r, mscstts, mscsweblm4r, msig, msPurity, mstrio, mudata2, mygene, myvariant, N2H4, nasadata, nasapower, natserv, nCov2019, ndexr, ndtv, neo2R, neo4r, NEONiso, neonUtilities, neotoma, netboxr, netgsa, nettskjemar, newsanchor, nfl4th, nhdplusTools, nhlapi, nhlscrape, nlgeocoder, nmadb, noaaoceans, nodbi, nomisr, nse2r, nser, NSO1212, nsrr, nzffdr, nzilbb.labbcat, ocs4R, ODataQuery, odin, OmaDB, OmicNavigator, omicplotR, OmnipathR, oncrawlR, onelogin, onepass, onsr, opalr, openadds, opencage, opencastR, opencpu, opendotaR, OpenML, OpenStats, osfr, osmdata, osrm, otpr, outsider, owdbr, owmr, oxcAAR, oxcgrt, oysteR, packagefinder, packer, pagedown, pageviews, pak, paleotree, pandocfilters, pangaear, PanVizGenerator, ParallelLogger, patentsview, pathlit, paws.common, paxtoolsr, pbixr, pda, pdfetch, pdfminer, pedquant, peRspective, pestr, phantasus, PharmacoGx, phenocamr, phenofit, piggyback, pinnacle.API, pins, pkgcache, pkgdepends, pkgsearch, plotly, plumber, plumberDeploy, pluscode, pocketapi, polished, polmineR, postGIStools, postlightmercury, povcalnetR, ppcong, PrecisionTrialDrawer, priceR, promote, protolite, provDebugR, provParseR, psichomics, ptm, ptvapi, PTXQC, pushbar, PWFSLSmoke, pxweb, PxWebApiData, qiitr, qrandom, qtl2, qualtRics, Quandl, quarto, R2019nCoV, r2d3, radiant.data, radix, RAhrefs, rAltmetric, rAmCharts4, RAMClustR, rameritrade, randNames, randquotes, rangeModelMetadata, rapiclient, rapidoc, rapsimng, RAQSAPI, rarms, raveio, ravelRy, rawr, rbhl, rbioapi, rbison, RBitmoji, rchie, rcites, rcitoid, rcol, RColetum, rcoreoa, rcorpora, Rcrawler, rcrossref, RCzechia, RDataCanvas, rdatacite, rdbnomics, rDGIdb, rdhs, rdomains, RDota2, rdrop2, rdryad, rdtLite, reactable, reactlog, ReactomeContentService4R, ReactomeGraph4R, ReactomeGSA, readbulk, readit, readtext, rebird, rechonest, recogito, red, ReDaMoR, redoc, RefManageR, refuge, rehydratoR, rentrez, repec, repr, reproducer, reqres, request, rerddap, RestRserve, reticulate, reutils, reveneraR, ReviewR, revulyticsR, Rexperigen, rfacebookstat, rfieldclimate, RGA, Rga4gh, rgbif, RGeckoboard, rGEDI, rgee, rgho, rgl, rgnparser, rgoogleads, rgoogleslides, rgugik, rhandsontable, rhub, rhymer, ricu, ridigbio, riem, riingo, rijkspalette, rinat, RInno, rintrojs, rIP, ritis, rjstat, rKolada, RKorAPClient, rlc, rlist, rmapshaper, rmapzen, rmarkdown, RMixpanel, rnassqs, rnbp, rnoaa, rnpn, rnrfa, roadoi, RobinHood, robservable, rockr, rolldown, rols, RonFHIR, ropendata, ROpenDota, ROpenFIGI, ROpenWeatherMap, rorcid, rosetteApi, rotl, rphylopic, rplos, rpredictit, RPresto, RPublica, RPushbullet, rredlist, rRofex, RSBJson, rsconnect, rscopus, rscorecard, rsinaica, RSiteCatalyst, rsleep, rsnps, RSocrata, Rspotify, rstac, rstatscn, rstoat, RStripe, rstudio.prefs, RTD, RtD3, RTL, rTorch, rtrek, RTTWebClient, rtweet, rtypeform, rvertnet, rvkstat, rWBclimate, rwebstat, Rwtss, ryandexdirect, RYandexTranslate, RZabbix, rzentra, SACCR, safedata, safetyGraphics, salesforcer, SAR, sbtools, SC2API, scrobbler, scrubr, sdcHierarchies, SDMtune, secret, seeclickfixr, semnar, sen2r, sendgridr, sensibo.sky, SensusR, sentryR, sergeant, servr, Seurat, sevenbridges, sfarrow, SGP, shiny, shiny.i18n, shiny.semantic, shinyAce, shinybootstrap2, shinybusy, shinyChakraUI, shinyFeedback, shinyFiles, shinyfullscreen, shinyjqui, shinyjs, shinyloadtest, shinylogs, shinymaterial, shinyMatrix, shinyMobile, shinypanel, shinyscreenshot, shinySearchbar, shinysurveys, shinytest, shinyTree, shinyWidgets, shopifyr, shutterstock, siebanxicor, sigmajs, sigmaNet, SignacX, SigOptR, simfinR, simplevis, sismonr, sketch, slackr, sleepwalk, slinky, SmarterPoland, smartR, SMITIDvisu, snapcount, SNPediaR, socialmixr, sofa, solrium, solvebio, sonicscrewdriver, sortable, SP2000, spacey, Spaniel, spant, sparklyr, sparklyr.nested, spatialLIBD, spectralAnalysis, spectrino, spidR, splashr, spocc, spotifyr, srcr, standartox, statnipokladna, statswalesr, stevedore, stmCorrViz, stplanr, studentlife, subscreen, SUNGEO, suppdata, swissdd, swissparl, systemPipeRdata, tableschema.r, TargomoR, taxa, taxadb, taxize, TCGAbiolinks, TCIApathfinder, teamr, Tejapi, telegram, telegram.bot, tensorflow, testthat, TexExamRandomizer, tfdeploy, tfruns, ThankYouStars, threeBrain, threesixtygiving, tidycensus, tidycwl, tidygeocoder, tidygeoRSS, tidyjson, TidyMultiqc, tidyquant, tidyqwi, tidyRSS, tidystats, tidytuesdayR, tidyUSDA, tidyverse, timescape, TimeSeries.OBeu, timevis, tinyscholar, tinyspotifyr, tippy, TKCat, tm1r, TNRS, TnT, togglr, TooManyCellsR, ToxicoGx, tracerer, trackeR, traits, treeio, trelliscopejs, trelloR, trustedtimestamping, tuber, tubern, twfy, twilio, TwitterAutomatedTrading, tximeta, uavRmp, UCSCXenaTools, uklr, ukpolice, uptasticsearch, urlshorteneR, usdampr, usdarnass, usethis, V8, vagalumeR, valhallr, vaultr, vegalite, vegawidget, vfinputs, viafr, visNetwork, vkR, vmr, voson.tcn, vosonSML, voteogram, votesmart, vstsr, wallace, wbstats, wdnr.gis, webchem, webdriver, webex, WebGestaltR, webmockr, webshot, webTRISr, webutils, wellknown, whereami, whoami, wiesbaden, WikidataQueryServiceR, WikidataR, WikipediR, wikitaxa, windsoraiR, worrms, wosr, WufooR, x.ent, xgboost, XKCDdata, XR, yhatr, yummlyr, zbank, zdeskR, Zelig, zen4R, zoltr, zzlite
Reverse suggests: auditor, azuremlsdk, AzureStor, basictabler, bookdown, ChemoSpec, ComplexUpset, conos, covid19jp, cowsay, crosstable, curl, CytobankAPIstats, d3r, dashCoreComponents, dashPivottable, data.tree, datadogr, DataExplorer, dbx, dccvalidator, denvax, designr, dismo, distribglm, divest, dodgr, downlit, DropletUtils, ecmwfr, edgeR, EuPathDB, fbar, finch, funchir, futile.logger, gap, geodata, getable, iBreakDown, ingredients, iNZightPlots, iNZightTools, io, isotree, jqr, jsTreeR, kgschart, leaflet.extras, leaflet.extras2, leaflet.providers, lgr, lgrExtra, listviewer, logger, MAFDash, magick, mapdeck, matchbook, metamicrobiomeR, metricsgraphics, microservices, mockthat, naaccr, ncdfgeom, neonstore, networkD3, nflfastR, noctua, openssl, orderly, passport, pense, PetfindeR, Pi, pivottabler, pkgdown, pointblank, presser, PureCN, qtlcharts, quanteda, quantmod, RagGrid, rAmCharts, RAthena, rcellminer, rdflib, reactR, repurrrsive, rio, riskmetric, Rpoet, sharpshootR, shinydashboardPlus, shotGroups, showtext, slickR, soilDB, stars, stats19, SummarizedExperiment, sunburstR, swagger, sysfonts, taxalight, TextMiningGUI, thematic, tidyr, tractor.base, tximport, vcr, webfakes, wiad, winfapReader, xfun, xplorerr

Linking:

Please use the canonical form https://CRAN.R-project.org/package=jsonlite to link to this page.