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.1
Depends: methods
Suggests: httr, curl, plyr, testthat, knitr, rmarkdown, R.rsp, sf
Published: 2020-09-07
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.1.tar.gz
Windows binaries: r-devel: jsonlite_1.7.1.zip, r-release: jsonlite_1.7.1.zip, r-oldrel: jsonlite_1.7.1.zip
macOS binaries: r-release: jsonlite_1.7.1.tgz, r-oldrel: jsonlite_1.7.1.tgz
Old sources: jsonlite archive

Reverse dependencies:

Reverse depends: BrowserViz, ClusterJudge, condusco, GoogleKnowledgeGraphR, hystReet, instaR, jSonarR, kofdata, nitrcbot, OmnipathR, openblender, rgdax, RGoogleAnalyticsPremium, RGoogleFit, rHealthDataGov, Rlabkey, RSauceLabs, RWildbook, seleniumPipes, timeseriesdb, TMDb, webglobe
Reverse imports: acled.api, acumos, adepro, aiRly, AirSensor, ALA4R, alfr, alfred, algo, alphavantager, altfuelr, amapGeocode, analogsea, aniview, AnnotationHubData, AnVIL, aos, apexcharter, apsimx, archivist.github, 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, AzureGraph, AzureKeyVault, AzureKusto, AzureRMR, AzureTableStor, AzureVM, BaMORC, BARIS, basictabler, bcdata, bea.R, beakr, bender, BENMMI, BgeeCall, bigQueryR, bigrquery, billboarder, binman, biobtreeR, BioCircos, biocompute, BiocPkgTools, BioInstaller, biomartr, BIOMASS, biomformat, bitmexr, bizdays, blastula, blscrapeR, bold, bomrang, BoSSA, bRacatus, brandwatchR, briqr, broman, BrownDog, bsplus, bysykkel, c3, calpassapi, cancensus, cansim, captr, catSurv, cbsodataR, ccafs, cdcfluview, cellbaseR, cellscape, censusapi, censys, childesr, chillR, chirps, ChromSCape, cimir, citation, citecorp, civis, ckanr, clarifai, classyfireR, climaemet, ClimMobTools, cloudml, Cluster.OBeu, CNAIM, coalitions, codebook, codemetar, cognitoR, coinmarketcapr, collidr, colourlovers, colourpicker, cometr, comtradr, concaveman, configr, covid19mobility, covidregionaldata, covr, cqcr, cranlogs, credentials, crminer, crosstalk, crossword.r, crul, crunch, csodata, csvy, ctrdata, cumulocityr, cwbtools, cyclestreets, CytobankAPI, CytoML, czso, daff, dagitty, danstat, dash, data360r, datadigest, dataone, datapackage.r, dataRetrieval, datarobot, DataSpaceR, dataspice, dataverse, datoramar, debrowser, deckgl, deepdep, DemografixeR, DescriptiveStats.OBeu, DEsubs, devtools, dextergui, diezeit, diffrprojectswidget, diffviewer, dimensionsR, dipsaus, discgolf, disk.frame, distcomp, distill, dkanr, dlstats, docuSignr, Doscheda, dpmr, DT, DTAT, duckduckr, ECharts2Shiny, echarts4r, EcoGenetics, eia, elastic, elasticsearchr, elevatr, EML, emld, emuR, ENCODExplorer, ENCODExplorerData, epidata, epigraphdb, epitweetr, epwshiftr, esquisse, ether, europepmc, eurostat, EventStudy, excelR, exCon, exifr, exiftoolr, ezpickr, facerec, factset.analyticsapi.engines, faq, faux, fbRads, federalregister, fflr, ffmetadata, ffscrapr, finbif, fipe, fishtree, fitbitScraper, fitzRoy, fixerapi, flashCard, flexdashboard, FlickrAPI, flipdownr, flora, FlowRepositoryR, fmpcloudr, foghorn, franc, fredr, frostr, ftExtra, fulltext, fusionchartsR, g3viz, GA4GHclient, GADMTools, ganalytics, gargle, gbfs, GCSConnection, gdalcubes, GDCRNATools, gde, gdns, gender, genderBR, genesysr, GenomicDataCommons, geoaxe, geojson, geojsonio, geojsonlint, geomedb, geometa, GetBCBData, gethr, getMet, getProxy, GetQuandlData, gfer, gfonts, ggimage, ggvis, gh, ghql, gistr, gitear, gitgadget, githubinstall, gitignore, gkgraphR, Glimma, gmailr, GNRS, golem, goodpractice, googleAnalyticsR, googleAuthR, googleCloudRunner, googleCloudStorageR, googleCloudVisionR, googleComputeEngineR, googledrive, googleLanguageR, googlenlp, googlePrintr, googler, googlesheets, googleTagManageR, googleVis, googleway, gotop, gprofiler2, gqlr, gradeR, gradientPickerD3, GRANBase, graphql, gridSVG, gtrendsR, guardianapi, gym, h2o, hackeRnews, handlr, hansard, HARtools, HCAExplorer, HCAMatrixBrowser, hereR, HiCBricks, highcharter, htmlwidgets, httping, httptest, httr, hydroscoper, hypothesisr, ibb, ibmAcousticR, ibmsunburst, icesTAF, idbr, idpr, iheatmapr, IMFData, imfr, imgrec, ImmuneSpaceR, inegiR, influxdbr, intensegRid, ip2location, ip2proxy, ipeadatar, iptmnetr, IRkernel, IsoplotRgui, istacr, JamendoR, jaod, jmvcore, jose, jrc, json64, jsonld, jsonstat, jsTree, keys, keyToEnglish, kibior, kiwisR, klassR, klustR, Knoema, KnowSeq, kntnr, lacrmr, languagelayeR, languageserver, lawn, leafletCN, leafletR, leafpm, leanpubr, learnr, LedPred, legco, lifx, lightgbm, lintr, livechatR, machina, majesticR, manifestoR, mapboxapi, mapedit, mapr, mapscape, matahari, medfate, mediacloudr, medrxivr, metabolomicsWorkbenchR, MetaDBparse, metaseqR2, meteoland, micar, microdemic, MIGSA, mindicador, mindr, miniMeta, mleap, mlflow, mlr3oml, mnis, modchart, modelStudio, MODISTools, mongolite, monkeylearn, MouseFM, mregions, mscstexta4r, mscstts, mscsweblm4r, msPurity, mstrio, mudata2, mygene, myvariant, N2H4, nasadata, nasapower, natserv, ndexr, ndtv, neo2R, neo4r, neonstore, neonUtilities, neotoma, netboxr, newsanchor, nflfastR, nhdplusTools, nhlapi, nhlscrape, nlgeocoder, nmadb, noaaoceans, nodbi, nomisr, nse2r, NSO1212, nsrr, nzilbb.labbcat, ocs4R, odin, OmaDB, omicplotR, oncrawlR, onelogin, opalr, openadds, opencage, opencastR, opencpu, opendotaR, OpenML, OpenStats, originr, osfr, osmdata, osrm, otpr, outsider.base, owdbr, owmr, oxcAAR, packagefinder, packer, pagedown, pageviews, pak, paleotree, pandocfilters, pangaear, PanVizGenerator, ParallelLogger, patentsview, paws.common, paxtoolsr, pbixr, pdfetch, pdfminer, pedquant, peRspective, phantasus, PharmacoGx, phenocamr, phenofit, piggyback, pinnacle.API, pins, pkgsearch, pleiades, plotly, plumber, pluscode, pocketapi, polAr, polished, polmineR, postGIStools, postlightmercury, povcalnetR, ppcong, PrecisionTrialDrawer, priceR, promote, protolite, provParseR, psichomics, ptvapi, pushbar, PWFSLSmoke, pxweb, PxWebApiData, qiitr, qrandom, qtl2, qualtRics, Quandl, quanteda, R2019nCoV, r2d3, radiant.data, radix, RAhrefs, rAltmetric, rAmCharts4, rameritrade, randNames, randquotes, rangeModelMetadata, rapiclient, rapsimng, rarms, raveio, ravelRy, rawr, rbhl, rbiorxiv, rbison, RBitmoji, rbokeh, rbraries, rchie, rcites, rcitoid, RColetum, rcoreoa, rcorpora, Rcrawler, rcrossref, RCzechia, RDataCanvas, rdatacite, rdbnomics, rDGIdb, rdhs, rdomains, RDota2, rdrop2, rdryad, rdtLite, reactable, reactlog, ReactomeGSA, readbulk, readit, readtext, rebird, rechonest, red, ReDaMoR, RefManageR, refuge, rehydratoR, rentrez, repec, repr, reproducer, reqres, request, rerddap, RestRserve, reticulate, reutils, revulyticsR, Rexperigen, rfacebookstat, rfml, RGA, Rga4gh, rgbif, RGeckoboard, rGEDI, rgho, rgl, rgnparser, rGoodData, rgoogleslides, rhandsontable, rhub, rhymer, ricu, ridigbio, riem, rif, riingo, rijkspalette, rinat, RInno, Rinstapkg, rintrojs, rIP, ritis, rjstat, RKorAPClient, rlc, rlist, rmapshaper, rmapzen, rmarkdown, RMixpanel, rnassqs, rnbp, rnoaa, rnpn, rnrfa, roadoi, RobinHood, robis, robservable, rodham, rolldown, rols, RonFHIR, ropenaq, ropendata, ROpenDota, ROpenFIGI, ROpenWeatherMap, rorcid, rosetteApi, rotl, rphylopic, rplos, rppo, rpredictit, RPresto, RPublica, RPushbullet, rredlist, rRofex, RSBJson, rsconnect, rscopus, rscorecard, rsinaica, RSiteCatalyst, rsleep, rsnps, RSocrata, Rspotify, rstatscn, RStripe, RSuite, RTD, RtD3, RTL, rTorch, rtrek, rtweet, rtypeform, rvertnet, rvkstat, rWBclimate, rwebstat, rxivistr, ryandexdirect, RYandexTranslate, RZabbix, SACCR, safedata, safetyGraphics, salesforcer, SAR, sbtools, SC2API, scrobbler, scrubr, sdcHierarchies, SDMtune, secret, seeclickfixr, semnar, sen2r, sensibo.sky, SensusR, sentryR, seqplots, sergeant, servr, Seurat, sevenbridges, SGP, shiny, shiny.i18n, shiny.semantic, shinyAce, shinybootstrap2, shinybusy, shinyFeedback, shinyFiles, shinyjqui, shinyjs, shinyloadtest, shinylogs, shinymaterial, shinyMatrix, shinyMobile, shinypanel, shinyscreenshot, shinySearchbar, shinytest, shinyTree, shinyWidgets, shopifyr, shutterstock, siebanxicor, sigmajs, sigmaNet, SigOptR, simfinR, simplevis, simrel, sinx, sismonr, sketch, slackr, sleepwalk, slinky, SmarterPoland, smartR, SMITIDvisu, snapcount, SNPediaR, socialmixr, sofa, solrium, solvebio, sonicscrewdriver, sortable, SP2000, spacey, spant, sparklyr, sparklyr.nested, spatialLIBD, spectralAnalysis, spectrino, splashr, spocc, statnipokladna, stevedore, stmCorrViz, stplanr, studentlife, subscreen, suppdata, swissdd, swissparl, systemPipeRdata, tableschema.r, TargomoR, taxa, taxadb, taxize, TCGAbiolinks, TCIApathfinder, teamr, Tejapi, telegram, telegram.bot, tensorflow, testthat, TexExamRandomizer, tfdeploy, tfruns, ThankYouStars, threeBrain, tidycensus, tidycwl, tidygeocoder, tidygeoRSS, tidyjson, tidyqwi, tidyRSS, tidystats, tidytuesdayR, tidyUSDA, tidyverse, timescape, TimeSeries.OBeu, timevis, tinyscholar, tippy, tm1r, TnT, togglr, TooManyCellsR, tracerer, trackeR, tradestatistics, traits, treeio, trelliscopejs, trelloR, trundler, trustedtimestamping, tstools, tuber, tubern, twfy, twilio, TwitterAutomatedTrading, tximeta, uavRmp, UCSCXenaTools, uklr, ukpolice, uptasticsearch, urlshorteneR, usdampr, usdarnass, V8, vagalumeR, vaultr, vegalite, vegawidget, vfinputs, viafr, visNetwork, vkR, vosonSML, voteogram, vstsr, webchem, webdriver, webex, WebGestaltR, webmockr, webshot, webTRISr, webutils, wellknown, whereami, whoami, wiesbaden, WikidataQueryServiceR, WikidataR, WikipediR, wikitaxa, worrms, wosr, WufooR, x.ent, XKCDdata, XR, yhatr, yummlyr, zbank, zdeskR, zen4R, zoltr, zzlite
Reverse suggests: auditor, azuremlsdk, AzureStor, boxr, ChemoSpec, cowsay, curl, CytobankAPIstats, d3r, dashCoreComponents, dashPivottable, data.tree, datadogr, dbx, dccvalidator, denvax, designr, dismo, divest, dodgr, downlit, DropletUtils, ecmwfr, edgeR, EuPathDB, fbar, finch, funchir, futile.logger, geoops, getable, iBreakDown, inferr, ingredients, iNZightPlots, iNZightTools, io, isotree, jqr, jsTreeR, kgschart, leaflet.extras, leaflet.extras2, leaflet.providers, lgr, listviewer, logger, magick, mapdeck, matchbook, metamicrobiomeR, metricsgraphics, MoBPS, naaccr, ncdfgeom, networkD3, noctua, openssl, orderly, passport, PetfindeR, pivottabler, pkgcache, pkgdown, pollstR, presser, PureCN, qtlcharts, quantmod, RagGrid, rAmCharts, RAthena, rcellminer, rdflib, reactR, repurrrsive, rio, Rpoet, rtika, sharpshootR, shotGroups, showtext, slickR, soilDB, stars, stats19, SummarizedExperiment, sunburstR, swagger, sysfonts, TextMiningGUI, tidyr, tractor.base, tximport, vcr, winfapReader, xgboost, xplorerr

Linking:

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