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.8.7
Depends: methods
Suggests: httr, vctrs, testthat, knitr, rmarkdown, R.rsp, sf
Published: 2023-06-29
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://jeroen.r-universe.dev/jsonlite https://arxiv.org/abs/1403.2805
NeedsCompilation: yes
Citation: jsonlite citation info
Materials: NEWS
In views: WebTechnologies
CRAN checks: jsonlite results

Documentation:

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

Downloads:

Package source: jsonlite_1.8.7.tar.gz
Windows binaries: r-devel: jsonlite_1.8.7.zip, r-release: jsonlite_1.8.7.zip, r-oldrel: jsonlite_1.8.7.zip
macOS binaries: r-release (arm64): jsonlite_1.8.7.tgz, r-oldrel (arm64): jsonlite_1.8.7.tgz, r-release (x86_64): jsonlite_1.8.7.tgz, r-oldrel (x86_64): jsonlite_1.8.7.tgz
Old sources: jsonlite archive

Reverse dependencies:

Reverse depends: BrowserViz, CEOdata, ClusterJudge, Cogito, condusco, cyjShiny, D4TAlink.light, dictionaRy, eFRED, ExpressionAtlas, GoogleKnowledgeGraphR, hystReet, instaR, kofdata, openblender, rflsgen, rgdax, RGoogleAnalyticsPremium, RGoogleFit, Rlabkey, RSauceLabs, rusquant, RWildbook, seleniumPipes, TMDb, webglobe
Reverse imports: abstr, academictwitteR, Achilles, acled.api, acumos, adepro, adformR, adobeanalyticsr, adsDataHubR, aiRly, airnow, airr, alabaster.base, alabaster.spatial, alfr, alfred, algo, allcontributors, alphavantager, altadata, altfuelr, amapGeocode, AMAPVox, amazonadsR, amazons3R, amazonspR, amerifluxr, analogsea, animate, aniview, AnnotationHubData, antaresEditObject, antaresRead, AnVIL, AnVILPublish, AnVILWorkflow, aos, apexcharter, appeears, appleadsR, appler, appsflyeR, apsimx, arakno, archiveRetriever, archivist.github, arcpullr, arenar, argparse, ArrayExpress, asciicast, askgpt, atom4R, ausplotsR, AutoDeskR, available, awinR, AWR.Kinesis, aws.comprehend, aws.ec2metadata, aws.iam, aws.kms, aws.lambda, aws.polly, aws.transcribe, aws.translate, azlogr, AzureAppInsights, AzureAuth, AzureCognitive, AzureCosmosR, AzureGraph, AzureKeyVault, AzureKusto, AzureRMR, AzureTableStor, AzureVM, badgen, bambooHR, baseballr, batata, bcdata, bcmaps, bdl, bea.R, beakr, bender, BENMMI, BgeeCall, bigQueryR, bigrquery, billboarder, binancer, bingadsR, binman, biobtreeR, BiocFHIR, BioCircos, biocompute, BiocPkgTools, biodb, biomartr, BIOMASS, biomformat, bioRad, bitmexr, bizdays, blastula, blogdown, blsBandit, bodsr, bold, bonn, BoSSA, botor, boxr, bRacatus, brandwatchR, brickset, briqr, BrownDog, bs4Dash, bslib, bsplus, bursa, bysykkel, c2z, c3, calpassapi, camcorder, campaignmanageR, cancensus, cansim, canvasXpress, captr, carbonate, caRecall, catSurv, cbioportalR, cbpManager, cbsodataR, ccmReportR, cdcfluview, CDMConnector, cdrcR, cellbaseR, cellscape, cellxgenedp, censusapi, cereal, Certara.R, cfbfastR, cffr, chatAI4R, chatgpt, checkpoint, ChemmineR, chemodiv, childesr, chillR, chirps, chromote, ChromSCape, cimir, circle, citation, citationchaser, citecorp, civis, cjar, ckanr, clarifai, cleanrmd, ClickHouseHTTP, climaemet, ClimMobTools, clinDataReview, cloudml, cloudos, Cluster.OBeu, CNAIM, coalitions, coda.base, codebook, codemeta, codemetar, cogeqc, cognitoR, cohortBuilder, coinmarketcapr, collidr, colourlovers, colourpicker, cometr, CompoundDb, concaveman, configr, conjurer, connectapi, connectwidgets, conrad, cookiecutter, cookies, CopernicusMarine, countries, covr, cpsR, cranlogs, credentials, crosstalk, crossword.r, crul, crunch, crypto2, cryptowatchR, CSGo, csodata, csvwr, csvy, ctf, cthist, ctrdata, cumulocityr, currencyapi, cwbtools, cyclestreets, CytobankAPI, CytoML, CytoPipeline, czso, d4storagehub4R, dagitty, daiR, danstat, data360r, dataone, dataRetrieval, datarobot, datasetjson, DataSpaceR, dataspice, DatastreamDSWS2R, dataverse, datoramar, debrowser, deckgl, deepdep, deepRstudio, DemografixeR, DEPONS2R, deps, DescriptiveStats.OBeu, designer, DEsubs, dextergui, dhlabR, diezeit, diffviewer, dimensionsR, dipsaus, disk.frame, distcomp, distill, dkanr, dlstats, dockerfiler, DockerParallel, docuSignr, Doscheda, dpmr, DQAgui, DQAstats, DT, DTAT, duckduckr, dynatopGIS, ebirdst, ecan, ecce, ECharts2Shiny, echarts4r, ecos, ECOTOXr, edgarWebR, EDIutils, educationdata, eia, EIAapi, eiopaR, elastic, elevatr, emailvalidation, EML, emld, emuR, ENCODExplorerData, enhancerHomologSearch, EnrichIntersect, ensemblQueryR, epidata, epidatr, epigraphdb, epitweetr, epwshiftr, esquisse, etrader, europeanaR, europepmc, eurostat, EventStudy, evolMap, excelR, exCon, exifr, exiftoolr, f1dataR, facebookadsR, facebookleadsR, facebookorganicR, facerec, factset.analyticsapi.engines, factset.protobuf.stachextensions, FAIRmaterials, faq, fastRhockey, faux, fbRads, FedData, federalregister, fedstatAPIr, feltr, fetchGoogleAnalyticsR, fetchSalesforceR, fflr, ffscrapr, fgga, finnishgrid, firebase, fishpond, fishtree, fitbitr, fitbitScraper, fitbitViz, fitzRoy, fixerapi, FLAMES, flashCard, flexdashboard, flexsiteboard, flipdownr, flora, fmpcloudr, fomantic.plus, foreSIGHT, FormShare, foundry, fqar, franc, fredr, freecurrencyapi, frictionless, frostr, ftExtra, funkyheatmap, fusionchartsR, g3viz, GA4GHclient, galah, galvanizer, gargle, gbfs, gdalcubes, GDCRNATools, gde, gemma.R, gender, genderBR, genesysr, genieBPC, GenomicDataCommons, geojson, geojsonio, geomaroc, geometa, GetBCBData, GetQuandlData, getwiki, geysertimes, gfer, gfonts, ggimage, ggvis, gh, ghql, giacR, GIFT, gistr, gitear, gitgadget, gitGPT, githubinstall, gitignore, gkgraphR, Glimma, gmailr, GNRS, goodpractice, googleadsR, googleAnalyticsR, googleAuthR, googleCloudRunner, googleCloudStorageR, googleCloudVisionR, googleComputeEngineR, googledrive, googleErrorReportingR, googleLanguageR, googlenlp, googler, googleTagManageR, googleVis, googleway, gotop, gprofiler2, gptstudio, gqlr, gradeR, gradientPickerD3, grafzahl, graphhopper, graphql, gridSVG, gson, gtrendsR, guardianapi, guildai, guiplot, GWalkR, gwasrapidd, gwavr, gym, h2o, hackeRnews, handlr, hansard, happign, harmonydata, hca, helsinki, hereR, hexFinder, hgnc, HiCBricks, highcharter, hlidacr, hockeystick, hoopR, htetree, htmlwidgets, httping, httptest, httptest2, httr, hypothesis, hypothesisr, ibb, ibmAcousticR, ibmsunburst, iCellR, icesConnect, icesDatsu, idbr, IDEATools, idmc, idpr, IGoRRR, iheatmapr, imgrec, immunarch, ImmuneSpaceR, inegiR, InflectSSP, influxdbclient, influxdbr, instagramadsR, intensegRid, InteractiveComplexHeatmap, ip2location, ip2proxy, ipbase, ipeadatar, iplookupapi, ipumsr, IRkernel, isoWater, istacr, itscalledsoccer, izmir, JamendoR, JBrowseR, jdenticon, jgsbook, jinjar, jmvcore, jmvReadWrite, jose, jqbr, jrc, json2aRgs, json64, jsonld, jsonstat, jsTree, kaigiroku, keys, keyToEnglish, kibior, kiwisR, klassR, klustR, KnowSeq, kntnr, KoboconnectR, konya, kosis, LACE, lacrmr, lambdr, languagelayeR, languageserver, lares, leafletCN, leafpm, leanpubr, learnr, LedPred, leprechaun, LifemapR, lifeR, lifx, lightgbm, liminal, limonaid, lingtypology, Linkage, linkedInadsR, lsnstat, LUCIDus, MAGAR, magmaR, mailchimpR, ManagedCloudProvider, manifestoR, manydata, mapboxapi, mapedit, mapscape, matahari, matric, MazamaLocationUtils, measurementProtocol, mediacloudr, medrxivr, memisc, metabolomicsWorkbenchR, MetaculR, meteospain, metro, micar, MicroMoB, Microsoft365R, miniMeta, minioclient, mitre, mlflow, mlr3oml, mnis, modchart, modelStudio, MODISTools, MODIStsp, moexer, mongolite, mongopipe, Morpho, MouseFM, mpathsenser, mregions, mscstexta4r, mscstts, mscsweblm4r, msig, mstrio, MungeSumstats, mygene, myvariant, N2H4, nasadata, nasapower, NasdaqDataLink, natserv, ndexr, ndtv, neo2R, neo4r, neonOS, neonUtilities, neotoma2, netgsa, nettskjemar, newsanchor, nfl4th, ngsReports, nhdplusTools, nhlapi, nhlscrape, njgeo, nmadb, noaaoceans, nodbi, nominatimlite, nomisr, NSO1212, nzilbb.labbcat, ocs4R, ODataQuery, oddsapiR, odin, odns, ohsome, okxAPI, oldbailey, OmaDB, OmicNavigator, omicplotR, OmnipathR, OnboardClient, oncrawlR, onelogin, onsr, opalr, openai, openalexR, openbankeR, opencage, opencpu, opendotaR, openeo, OpenML, OpenSpecy, OpenStats, ORFik, orthogene, osfr, osmextract, otargen, otpr, ottr, ottrpal, owdbr, owmr, oxcAAR, oysteR, packagefinder, packer, pacs, pagedown, pageviews, paleotree, pandocfilters, pangaear, panstarrs, ParallelLogger, parquetize, patentsview, pathlit, paws.common, paxtoolsr, pbixr, pbr, pcatsAPIclientR, pda, pdfetch, pdfminer, pedquant, peermodels, peRspective, pestr, phantasus, PharmacoGx, phenocamr, piggyback, piglet, pins, pinterestadsR, pkgcache, pkgdepends, pkgdown, pkgsearch, PKPDsim, plotly, plumber, plumberDeploy, plumbertableau, pluscode, pmparser, pmxcode, pocketapi, polished, polmineR, postdoc, postlightmercury, potions, powerbiR, ppcong, preregr, previsionio, priceR, prolific.api, promote, protolite, provDebugR, provParseR, psichomics, ptm, ptvapi, pushbar, PWFSLSmoke, pxweb, PxWebApiData, QBMS, qbr, qgisprocess, qiitr, qtl2, qualtRics, Quandl, quanteda, quantmod, quarto, queryup, QuickJSR, quoradsR, r.proxy, r2d3, r2symbols, r3js, r4googleads, r5r, Racmacs, radiant.data, rairtable, rAmCharts4, rameritrade, randquotes, rang, rangeModelMetadata, rapiclient, rapidoc, rapsimng, RAQSAPI, rarms, Rarr, rATTAINS, raveio, ravelRy, rb3, rbcb, rbioapi, rbokeh, rcites, RColetum, rconfig, rcorpora, Rcrawler, rcrossref, RCX, RCzechia, RDataCanvas, rdatacite, rDataPipeline, rdbnomics, rDGIdb, rdhs, rdomains, RDota2, rdrop2, rdryad, rdtLite, Rduinoiot, reactable, reactlog, ReactomeContentService4R, ReactomeGraph4R, ReactomeGSA, readbulk, readit, readNSx, readtext, readysignal, rebird, receptiviti, rechonest, recogito, red, ReDaMoR, REDCapR, redditadsR, redoc, RefManageR, refuge, rehydratoR, renderthis, rentrez, repec, repoRter.nih, repr, reproducer, reqres, request, rerddap, RestRserve, reticulate, ReUseData, reutils, reveneraR, ReviewR, Revticulate, revulyticsR, Rexperigen, rextendr, rfacebookstat, rfieldclimate, rfishbase, rfishdraw, rgbif, RGeckoboard, rgee, rgeedim, rgl, rgl2gltf, rgnparser, rgoogleads, rgoogleclassroom, rgoogleslides, rgtmx, rgugik, rhandsontable, rhub, rhymer, RiboCrypt, ricu, ridigbio, riem, riingo, rinat, RInno, rintcal, rintrojs, ritis, rjsoncons, rjstat, RKorAPClient, rlc, rlist, rmangal, rmapzen, rmarkdown, RMixpanel, rmzqc, rnassqs, rnaturalearth, rnbp, rnoaa, rnpn, rnrfa, Rnumerai, Rnvd3, roadoi, RobinHood, robis, robservable, Robyn, rockr, rolldown, rols, RonFHIR, ropendata, ROpenDota, ROpenFIGI, ROpenWeatherMap, rorcid, rosetteApi, rotl, roughnet, roughsf, rphylopic, rpredictit, RPresto, rprojtree, RPublica, RPushbullet, rpx, rpymat, rredlist, rrefine, RSBJson, rsconnect, rscopus, rscorecard, rsinaica, RSiteCatalyst, rsleep, RSocrata, Rspotify, rstac, rstatscn, rstudio.prefs, rsurveycto, RTD, rtiddlywiki, RTL, rtoot, rTorch, rtrek, rtry, RTTWebClient, rtweet, rtypeform, rvertnet, rvkstat, rwebstat, Rwtss, ryandexdirect, RYandexTranslate, RZabbix, rzentra, SACCR, safedata, safetensors, safetyCharts, safetyGraphics, salesforcer, SAR, sbtools, SC2API, scRNAseqApp, scrobbler, sdcHierarchies, SDMtune, secret, seeclickfixr, seeker, semnar, sen2r, sendgridr, sensibo.sky, SensusR, sentiment.ai, sergeant, servr, Seurat, sevenbridges, sfarrow, SGP, shidashi, shiny, shiny.benchmark, shiny.fluent, shiny.i18n, shiny.react, shiny.semantic, shiny.telemetry, shinyAce, shinybusy, shinyChakraUI, shinyCohortBuilder, shinyFeedback, shinyFiles, shinyfullscreen, shinyGovstyle, shinyHugePlot, shinyjqui, shinyjs, shinylight, ShinyLink, shinyloadtest, shinylogs, shinymaterial, shinyMatrix, shinyMobile, shinypanel, shinyRatings, shinyscreenshot, shinySearchbar, shinyStorePlus, shinysurveys, shinytest, shinytest2, shinyTree, shinyWidgets, shopifyadsR, shopifyr, shroomDK, siebanxicor, sigmajs, SignacX, SigOptR, simrel, sketch, skilljaR, slackr, sleeperapi, sleepwalk, SmarterPoland, smdocker, SMITIDvisu, snapchatadsR, snapcount, SNPannotator, SNPediaR, socialmixr, sofa, solrium, solvebio, sonicscrewdriver, sortable, sotkanet, SP2000, Spaniel, spant, sparklyr, sparklyr.nested, spatialLIBD, spectralAnalysis, spectrino, spidR, spocc, spotifyr, srcr, sship, standartox, statnipokladna, statsearchanalyticsr, statswalesr, stevedore, stmCorrViz, storywranglr, stplanr, studentlife, subscreen, SUNGEO, suppdata, swissparl, SWTools, systemPipeRdata, tableschema.r, taboolaR, taxize, TCGAbiolinks, TCIApathfinder, teamr, Tejapi, telegram, telegram.bot, templr, testthat, TexExamRandomizer, tfdeploy, tfrmt, tfruns, ThankYouStars, threeBrain, threesixtygiving, tidycensus, tidycwl, tidygeocoder, tidygeoRSS, tidyjson, TidyMultiqc, tidyquant, tidyqwi, tidyRSS, tidytuesdayR, tidyUSDA, tidyverse, tidywikidatar, tiktokadsR, timescape, TimeSeries.OBeu, timeseriesdb, timevis, tinyscholar, tinyspotifyr, tippy, TKCat, tm1r, TNRS, TnT, togglr, tomba, TooManyCellsR, ToxicoGx, tqk, tracerer, trackeR, tradestatistics, traits, translated, traveltimeR, treeio, trelliscopejs, trelloR, tremendousr, trustedtimestamping, tseries, tstools, tuber, tubern, twfy, twilio, Twitmo, twitteradsR, TwitterAutomatedTrading, tximeta, uavRmp, UCSCXenaTools, uklr, ukpolice, umbridge, UniProt.ws, uniswappeR, uptasticsearch, urlshorteneR, usdampr, usdarnass, usdoj, usethis, V8, vagalumeR, valet, valhallr, vapour, vatcheckapi, vaultr, vegalite, vegawidget, vfinputs, viafr, video, visNetwork, vitae, vkR, vmr, voson.tcn, vosonSML, voteogram, votesmart, vstsr, vvcanvas, vvtableau, vvtermtime, wbstats, WDI, wdnr.gis, webchem, webdriver, webexercises, WebGestaltR, webmockr, webmorphR, webshot, webutils, wehoop, whereami, whoami, wiesbaden, WikidataQueryServiceR, WikidataR, WikipediR, wikitaxa, wikiTools, wildviz, windsoraiR, worldfootballR, worrms, wosr, WufooR, x.ent, xaringanExtra, xgboost, XKCDdata, xmpdf, xQTLbiolinks, XR, yahoofinancer, yfR, yhatr, YTAnalytics, zdeskR, zen4R, zipcodeR, zoltr, zoomr, zzlite
Reverse suggests: alabaster.bumpy, alabaster.ranges, alabaster.se, amapro, arrow, auditor, azuremlsdk, AzureStor, basictabler, BiocCheck, blsR, bookdown, ChemoSpec, ComplexUpset, conos, cowsay, crosstable, curl, d3r, data.tree, datadogr, DataExplorer, datamods, dbx, denvax, designr, dismo, divest, dm, dodgr, downlit, DropletUtils, duckdbfs, easystats, echarty, ecmwfr, edgeR, epiCleanr, EuPathDB, fbar, finch, funchir, futile.logger, gap, geodata, getable, ggeffects, glottospace, Gmisc, googlePubsubR, gtfstools, hfhub, Hmisc, httr2, iBreakDown, ingredients, iNZightPlots, iNZightTools, io, ISAnalytics, isotree, jab.adverse.reactions, jqr, jsonvalidate, jsTreeR, justifier, kgschart, leaflet.extras, leaflet.extras2, leaflet.providers, lgr, lgrExtra, lintr, listviewer, log4r, logger, magick, mapdeck, mastR, metamicrobiomeR, metricsgraphics, MicrobiotaProcess, MoBPS, mockthat, mpindex, naaccr, ncdfgeom, neonstore, networkD3, nflfastR, noctua, oncoscanR, opensensmapr, openssl, orderly, osmdata, pak, passport, pense, PetfindeR, Pi, pivottabler, pkgstats, pointblank, PureCN, qtlcharts, RagGrid, rAmCharts, RAthena, rbedrock, rcellminer, rdflib, reactR, REDCapCAST, renv, repurrrsive, rio, rirods, riskmetric, RLSeq, rmapshaper, rosm, Rpoet, rtika, rworkflows, sccore, sharpshootR, shiny.reglog, shinydashboardPlus, shotGroups, showtext, sits, slickR, soilDB, speckle, stars, stats19, stenR, stoRy, SummarizedExperiment, sunburstR, swagger, sysfonts, taxalight, TextMiningGUI, thematic, TheOpenAIR, tibblify, tractor.base, tximport, ursa, ustfd, vcr, vetiver, wallace, webfakes, whitewater, wiad, winfapReader, xfun, xplorerr
Reverse enhances: this.path

Linking:

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