Nothing Special   »   [go: up one dir, main page]

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.9
Depends: methods
Suggests: httr, vctrs, testthat, knitr, rmarkdown, R.rsp, sf
Published: 2024-09-20
DOI: 10.32614/CRAN.package.jsonlite
Author: Jeroen Ooms ORCID iD [aut, cre], Duncan Temple Lang [ctb], Lloyd Hilaiel [cph] (author of bundled libyajl)
Maintainer: Jeroen Ooms <jeroenooms at gmail.com>
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 (source, R code)
Fetching JSON data from REST APIs (source)
Combining pages of JSON data with jsonlite (source)
A mapping between JSON data and R objects (source)
Simple JSON RPC with OpenCPU (source)

Downloads:

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

Reverse dependencies:

Reverse depends: BrowserViz, CEOdata, ClusterJudge, Cogito, cyjShiny, D4TAlink.light, dictionaRy, eFRED, ExpressionAtlas, GoogleKnowledgeGraphR, hystReet, instaR, kofdata, limexhub, openaistream, openblender, rflsgen, rgdax, RGoogleAnalyticsPremium, RGoogleFit, Rlabkey, RSauceLabs, rusquant, RWildbook, seleniumPipes, TMDb, webglobe
Reverse imports: abstr, academictwitteR, Achilles, acled.api, acumos, adformR, adobeanalyticsr, adsDataHubR, AirExposure, airGRiwrm, aiRly, airnow, airr, AIscreenR, alabaster.base, alabaster.mae, alabaster.sce, alabaster.se, alfr, alfred, algo, alphavantager, altadata, altfuelr, amapGeocode, AMAPVox, amazonadsR, amazons3R, amazonspR, amberr, amerifluxr, analogsea, animate, aniview, AnnotationHubData, antaresEditObject, antaresRead, AnVIL, AnVILAz, AnVILBase, AnVILGCP, AnVILPublish, AnVILWorkflow, aos, APCalign, apexcharter, appeears, appleadsR, appsflyeR, apsimx, arakno, arcgeocoder, archiveRetriever, archivist.github, arcpullr, ARDECO, 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, batchLLM, bcdata, bcmaps, bdl, bea.R, beakr, bender, BgeeCall, bigrquery, billboarder, binancer, bingadsR, binman, biobtreeR, BiocFHIR, BioCircos, biocompute, BiocPkgTools, biodb, biomartr, BIOMASS, biomformat, bioRad, bitmexr, bizdays, blastula, blogdown, blsBandit, blscrapeR, bodsr, bonn, BoSSA, botor, boxr, bRacatus, brandwatchR, brickset, brickster, briqr, BrownDog, bs4Dash, bslib, bsplus, bursa, bysykkel, c2z, c3, calpassapi, camcorder, campaignmanageR, cancensus, cansim, canvasXpress, captr, carbonate, caRecall, castor, catSurv, cbioportalR, cbpManager, cbsodataR, ccdR, ccmReportR, CDMConnector, cdrcR, CDSE, cellbaseR, celldex, cellscape, censusapi, cereal, Certara.R, Certara.RsNLME, cffr, chatAI4R, chatgpt, chattr, checked, checkpoint, ChemmineR, chemodiv, childesr, chillR, chirps, chromote, ChromSCape, cimir, circle, citation, citationchaser, citecorp, citmre, civis, cjar, ckanr, clarifai, cleanrmd, ClickHouseHTTP, climaemet, ClimMobTools, clinDataReview, clinicalomicsdbR, cloudml, cloudos, Cluster.OBeu, CNAIM, codebook, codemeta, codemetar, cogeqc, cognitoR, cohortBuilder, CohortGenerator, coinmarketcapr, collidr, colourlovers, colourpicker, cometr, comf, CompoundDb, concaveman, condathis, configr, conjurer, connectapi, connectoModa, connectwidgets, conrad, cookiecutter, cookies, countries, covr, cpsR, cranlogs, credentials, crosstalk, crossword.r, crul, crunch, crypto2, cryptoQuotes, cryptotrackr, cryptowatchR, CSGo, csodata, csvwr, csvy, ctf, cthist, ctrdata, ctxR, cumulocityr, currencyapi, cvdprevent, cyclestreets, CytobankAPI, CytoML, CytoPipeline, czso, d4storagehub4R, daff, dagitty, daiR, danstat, data360r, dataone, dataRetrieval, datarobot, datasetjson, DataSpaceR, dataspice, DatastreamDSWS2R, DatastreamR, dataverse, datoramar, debrowser, deckgl, deepdep, deepRstudio, DemografixeR, DEPONS2R, deps, DescriptiveStats.OBeu, designer, DEsubs, dextergui, diezeit, diffviewer, dimensionsR, dipsaus, disastr.api, diseasystore, disk.frame, distcomp, distill, dkanr, dlstats, dockerfiler, DockerParallel, docuSignr, Doscheda, dpmr, DQAgui, DQAstats, drhutools, DSMolgenisArmadillo, DT, DTAT, dtmapi, dtreg, duckduckr, duckplyr, dynatopGIS, ebirdst, ebvcube, ecan, ecce, ECharts2Shiny, echarts4r, ecos, ECOTOXr, edgarWebR, EDIutils, educationdata, eia, EIAapi, eider, eiopaR, elastic, elevatr, emailvalidation, EML, emld, emuR, ENCODExplorerData, enhancerHomologSearch, EnrichIntersect, enrichViewNet, epidata, epidatr, epigraphdb, epitweetr, epwshiftr, esmtools, esquisse, etrader, euroleaguer, europeanaR, europepmc, eurostat, evolMap, evprof, evsim, excelR, exCon, exifr, exiftoolr, f1dataR, FaaSr, facebookadsR, facebookleadsR, facebookorganicR, facerec, factset.analyticsapi.engines, factset.protobuf.stachextensions, fanyi, faq, fastRhockey, favawesome, fbRads, FeatureExtraction, FedData, federalregister, fedstatAPIr, feltr, fetchGoogleAnalyticsR, fetchSalesforceR, ffscrapr, fgga, fHMM, finnishgrid, firebase, fishpond, fishRman, fishtree, fitbitr, fitbitScraper, fitbitViz, fitzRoy, fixerapi, FLAMES, flashCard, flexdashboard, flexsiteboard, flipdownr, flora, flourishcharts, fluxfinder, fmpcloudr, fomantic.plus, foreSIGHT, FormShare, foundry, fqar, franc, fredr, freecurrencyapi, frictionless, frostr, ftExtra, funkyheatmap, fusionchartsR, g3viz, GA4GHclient, galah, galvanizer, gargle, gbfs, gdalcubes, GDCRNATools, gde, gDRutils, gemma.R, GenAI, gender, genderBR, genesysr, genieBPC, GenomicDataCommons, geoAr, geojson, geojsonio, geomaroc, geometa, GetBCBData, GetQuandlData, GetTDData, getwiki, geysertimes, gfer, gfonts, ggfigdone, gggenomes, ggimage, GGIRread, ggvis, gh, ghql, giacR, GIFT, ginmappeR, giscoR, gistr, gitear, gitgadget, gitGPT, githubinstall, gitignore, gkgraphR, Glimma, glossa, gmailr, GNRS, goodpractice, googleadsR, googleAnalyticsR, googleAuthR, googleCloudStorageR, googleCloudVisionR, googleComputeEngineR, googledrive, googleErrorReportingR, googleLanguageR, googlenlp, googler, googleTagManageR, googleVis, googleway, gotop, gprofiler2, gptr, gptstudio, gqlr, gradeR, gradientPickerD3, grafzahl, graphhopper, graphql, gridSVG, groqR, gson, gtfsio, gtrendsR, guardianapi, guildai, guiplot, GVS, GWalkR, gwasrapidd, gwavr, gym, gypsum, h2o, hackeRnews, handlr, happign, harmonydata, hca, hdar, helsinki, hereR, hgnc, HiCBricks, highcharter, hlidacr, hockeystick, hollr, HoloFoodR, hoopR, htetree, htmlreportR, htmlwidgets, httping, httptest, httptest2, httr, hubUtils, hypothesis, hypothesisr, ibb, ibmAcousticR, ibmsunburst, icdcomorbid, iCellR, icesConnect, icesDatsu, idbr, ideanet, IDEATools, idmc, idpr, ieegio, ieugwasr, IGoRRR, igvShiny, iheatmapr, imf.data, imgrec, immunarch, immunogenViewer, inegiR, InflectSSP, influxdbclient, influxdbr, instagramadsR, intensegRid, InteractiveComplexHeatmap, ip2location, ip2locationio, ip2proxy, ip2whois, ipanema, ipbase, ipeadatar, iplookupapi, ipumsr, IRkernel, IsoMemo, isotree, isoWater, istacr, itscalledsoccer, izmir, JamendoR, JBrowseR, jdenticon, jgsbook, jinjar, jmvcore, jmvReadWrite, jose, jqbr, jrc, json2aRgs, json64, jsonld, jsonstat, jsTree, kaigiroku, keys, keyToEnglish, khisr, kibior, kisopenapi, klassR, klustR, kmeRtone, KnowSeq, kntnr, KoboconnectR, koinar, kosis, KrakenR, LACE, lacrmr, lambdr, laminr, languagelayeR, languageserver, lares, lavaangui, leafpm, leanpubr, learnr, LedPred, leprechaun, LifemapR, lifeR, lifx, lightgbm, liminal, limonaid, lingtypology, Linkage, linkedInadsR, lsnstat, LUCIDus, MAGAR, magmaR, mailchimpR, malariaAtlas, mall, ManagedCloudProvider, manifestoR, manydata, mapboxapi, mapedit, mapme.biodiversity, mapping, mapscape, matahari, MazamaLocationUtils, mbbe, measurementProtocol, medfateland, mediacloudr, medrxivr, memisc, mergen, mergenstudio, metabolomicsWorkbenchR, metalite.table1, metaseqR2, meteo, meteospain, metricminer, metro, micar, MicroMoB, Microsoft365R, miniMeta, minioclient, mitre, mlflow, mlms, mlr3oml, mnis, modelStudio, MODISTools, moexer, mongolite, mongopipe, Morpho, MouseFM, mpathr, mpathsenser, mpindex, mscstexta4r, mscstts, mscsweblm4r, msig, mstrio, multiverse, MungeSumstats, mygene, myvariant, N2H4, nasadata, nasapower, NasdaqDataLink, natserv, ndexr, ndtv, neo2R, neo4r, neonOS, neonUtilities, neotoma2, nettskjemar, newsanchor, nfl4th, NGCHM, ngsReports, nhdplusTools, nhlapi, njgeo, nmadb, nodbi, nominatimlite, nomisr, NSO1212, NSR, ntfy, nzilbb.labbcat, ocs4R, ODataQuery, oddsapiR, odin, ohsome, okxAPI, ollamar, OmaDB, OmicNavigator, omicplotR, OmicsMLRepoR, OmnipathR, OnboardClient, oncrawlR, One4All, onelogin, onsr, opalr, openai, openalexR, openappr, openbankeR, opencage, opencpu, opendotaR, openeo, OpenMindat, OpenML, openrouteservice, openscoring, OpenSpecy, OpenStats, OPI, OralOpioids, ORFik, orthogene, osdatahub, osfr, osmextract, otargen, otpr, ottr, ottrpal, owdbr, owidR, owmr, oxcAAR, oysteR, packagefinder, packer, pacs, pacu, pagedown, pageviews, paleotree, PaLMr, pandocfilters, Pandora, pangaear, pannotator, panstarrs, ParallelLogger, parquetize, patentsview, pathlit, paws.common, pbr, pcatsAPIclientR, pcvr, pda, pdfetch, pdfminer, pedquant, peermodels, perplexR, pestr, phantasus, PharmacoGx, phenocamr, photobiologyInOut, piggyback, pins, pinterestadsR, pipeflow, pkgcache, pkgdepends, pkgdown, pkgsearch, PKPDsim, planscorer, Platypus, plotly, plotscaper, plumber, plumberDeploy, plumbertableau, plume, pluscode, pmparser, pmxcode, pocketapi, polished, polmineR, Poly4AT, polyglotr, postdoc, postlightmercury, potions, powerbiR, preregr, previsionio, priceR, prolific.api, promote, promptr, protolite, provDebugR, provParseR, psichomics, ptm, ptvapi, pubmedtk, puremoe, PurpleAirAPI, pushbar, pxweb, PxWebApiData, PytrendsLongitudinalR, QBMS, qbr, qgisprocess, qiitr, qtl2, qualtRics, Quandl, quanteda, quantmod, quarto, queryup, quoradsR, r.proxy, r2d3, r2symbols, r311, r3js, r4googleads, r5r, Racmacs, RadEro, radiant.data, rairtable, rAmCharts4, RAMClustR, rameritrade, randquotes, rang, Rapi, rapiclient, rapsimng, rarms, Rarr, rATTAINS, ravelRy, rbcb, rbioapi, rcites, RColetum, rconfig, rcorpora, RCPA, Rcpi, Rcrawler, rcrossref, RCX, RCzechia, rdatacite, rDataPipeline, rdbnomics, rdhs, rdomains, RDota2, rdracor, rdryad, rdtLite, Rduinoiot, reactable, reactlog, ReactomeGSA, readit, readNSx, readtext, rebird, receptiviti, rechonest, recogito, red, ReDaMoR, redcapAPI, REDCapR, redditadsR, redoc, RefManageR, refuge, rehydratoR, rentrez, repec, repoRter.nih, repr, reproducer, reqres, request, rerddap, resourcecode, RestRserve, reticulate, ReUseData, reutils, reveneraR, ReviewR, Revticulate, revulyticsR, Rexperigen, rextendr, rfacebookstat, rfaRm, rfieldclimate, rfishbase, rfishdraw, rgbif, rgee, rgeedim, rgl, rgl2gltf, rgnparser, rgoogleads, rgoogleclassroom, rgoogleslides, rgtmx, rgugik, rhandsontable, rhub, rhymer, RiboCrypt, ricu, ridigbio, riem, riingo, rinat, RInno, rintcal, rintrojs, ripc, rirods, ritis, RivRetrieve, rix, rJavaEnv, rjstat, rKolada, RKorAPClient, rlc, rlist, rmacrostrat, rmapzen, rmarkdown, RMixpanel, rmzqc, rnassqs, rnaturalearth, rnbp, rnpn, rnrfa, Rnumerai, Rnvd3, roadoi, RobinHood, robis, robservable, Robyn, rockr, rollama, rolldown, rols, RonFHIR, ropendata, ROpenDota, ROpenFIGI, ropenmeteo, ROpenWeatherMap, rorcid, rosetteApi, rosv, rotl, roughnet, roughsf, roxy.shinylive, rPDBapi, rphylopic, Rpolyhedra, rpredictit, RPresto, rprojtree, RPublica, RPushbullet, rpx, rpymat, rredlist, rrefine, RSBJson, rsconnect, rscopus, rscorecard, rsi, rsinaica, rsocialwatcher, RSocrata, Rspotify, rstac, rstatscn, rStrava, rstudio.prefs, rsurveycto, RTD, rtiddlywiki, RTL, rtoot, rTorch, rtrek, rtry, RTTWebClient, rtweet, rtypeform, rush, rvertnet, rvkstat, rwebstat, Rwtss, ryandexdirect, RYandexTranslate, RZabbix, rzentra, safetensors, safetyCharts, safetyGraphics, salesforcer, SAR, sbtools, SC2API, scRNAseq, scRNAseqApp, scrobbler, sdcHierarchies, SDMtune, secret, seeclickfixr, seeker, selenium, semnar, sendgridr, sensibo.sky, SensusR, sentiment.ai, sentryR, sergeant, servr, settingsSync, Seurat, sevenbridges, sevenbridges2, sfarrow, SGP, sgraph, shidashi, shiny, shiny.benchmark, shiny.fluent, shiny.gosling, shiny.i18n, shiny.react, shiny.semantic, shiny.telemetry, shinyAce, shinybusy, shinyChakraUI, shinyCohortBuilder, shinyFeedback, shinyFiles, shinyfullscreen, shinyGovstyle, shinyHugePlot, shinyjqui, shinyjs, shinylight, ShinyLink, shinylive, shinyloadtest, shinylogs, shinyLottie, shinymaterial, shinyMatrix, shinyMobile, shinypanel, shinyQueryBuilder, shinyRatings, shinyscreenshot, shinySearchbar, shinyStorePlus, shinysurveys, shinytest, shinytest2, shinyTree, shinyWGD, shinyWidgets, shopifyadsR, shopifyr, shroomDK, siebanxicor, sigmajs, SignacX, SigOptR, simer, simpletex, simrel, sketch, skilljaR, slackr, sleeperapi, sleepwalk, SmarterPoland, smartsheetr, smdocker, SMITIDvisu, snapchatadsR, snapcount, SNPannotator, SNPediaR, socialmixr, sofa, solrium, solvebio, sonicscrewdriver, sortable, SP2000, SpaceMarkers, Spaniel, spant, sparklyr, sparklyr.nested, spatialLIBD, spectralAnalysis, spectrino, spidR, spocc, spotifyr, srcr, ssd4mosaic, sship, standartox, STATcubeR, statnipokladna, statsearchanalyticsr, statswalesr, stevedore, stmCorrViz, storywranglr, stplanr, studentlife, subscreen, SUNGEO, suppdata, susographql, swissparl, SWTools, systemPipeRdata, T2DFitTailor, tableschema.r, taboolaR, TCGAbiolinks, TCGAretriever, TCIApathfinder, teal, teal.slice, teamr, Tejapi, telegram, telegram.bot, telraamStats, templr, TestGenerator, testthat, TexExamRandomizer, textAnnotatoR, textpress, textrar, tfdeploy, tfrmt, tfruns, ThankYouStars, threeBrain, threesixtygiving, tidycensus, tidycwl, tidyedgar, tidygeocoder, tidygeoRSS, tidyjson, tidyllm, TidyMultiqc, tidyRSS, tidystats, tidytransit, tidytuesdayR, tidyUSDA, tidyverse, tidywikidatar, tiktokadsR, timescape, timeseriesdb, timevis, tinyscholar, tinyspotifyr, tippy, TKCat, tm1r, TNRS, TnT, togglr, tomba, TooManyCellsR, topiclabels, torch, tower, ToxicoGx, tqk, tracerer, trackeR, tradestatistics, transmogR, traveltimeR, treeio, trelliscopejs, trelloR, tremendousr, trustedtimestamping, TSAR, tseries, tstools, tuber, tubern, twfy, twilio, Twitmo, twitteradsR, TwitterAutomatedTrading, tximeta, uavRmp, UCSC.utils, UCSCXenaTools, uklr, ukpolice, umbridge, UnalR, UniProt.ws, uptasticsearch, urlshorteneR, usdampr, usdarnass, usethis, V8, vagalumeR, valet, valhallr, vapour, vatcheckapi, vaultr, vectorsurvR, vegalite, vegawidget, vfinputs, viafr, video, VisiumIO, visNetwork, vitae, vkR, vmr, voson.tcn, vosonSML, voteogram, votesmart, vstsr, vvcanvas, vvtableau, vvtermtime, wbstats, WDI, weatherOz, webchem, webdriver, webexercises, WebGestaltR, webmockr, webshot, webutils, wehoop, whereami, whoami, wiesbaden, WikidataQueryServiceR, WikidataR, WikipediR, wikitaxa, wikiTools, windsoraiR, worldfootballR, worrms, wosr, WufooR, x.ent, xaringanExtra, xgboost, XKCDdata, xmpdf, XR, yahoofinancer, yfR, yhatr, YTAnalytics, zdeskR, zen4R, zipcodeR, zippeR, zoltr, zoomr, zzlite
Reverse suggests: alabaster.bumpy, alabaster.ranges, amapro, arrow, ARUtools, atrrr, auditor, autonomics, azuremlsdk, AzureStor, basictabler, BiocCheck, blsR, bookdown, bskyr, celltrackR, ChemoSpec, cloudfs, clusterProfiler, coda.base, ComplexUpset, conos, cookiemonster, cowsay, crosstable, curl, d3r, data.tree, datadogr, DataExplorer, datamods, dbx, denvax, designr, dismo, divest, dm, dodgr, downlit, DropletUtils, duckdbfs, easystats, eCerto, echarty, ecmwfr, edgeR, eodhdR2, epiCleanr, epiparameterDB, EuPathDB, fbar, finch, funchir, futile.logger, gap, geodata, getable, ggeffects, glottospace, Gmisc, googlePubsubR, gtfstools, hfhub, Hmisc, httpgd, httr2, iBreakDown, ingredients, inldata, inlpubs, iNZightPlots, iNZightTools, io, ISAnalytics, jab.adverse.reactions, jqr, jsonvalidate, jsTreeR, justifier, kanjistat, keras3, kgschart, leaflet.extras, leaflet.extras2, leaflet.providers, lgr, lgrExtra, lintr, listviewer, log4r, logger, magick, mapdeck, mark, mastR, metamicrobiomeR, MetMashR, MicrobiotaProcess, MiscMetabar, mlr3torch, MoBPS, mockthat, mregions2, naaccr, nanoarrow, ncdfgeom, neonstore, networkD3, noctua, OhdsiShinyAppBuilder, omopgenerics, oncoscanR, openairmaps, openssl, orbital, orderly, osmdata, overtureR, pak, passport, pathlinkR, pctax, pcutils, pense, PetfindeR, pivottabler, pkgload, pointblank, protti, PureCN, qtlcharts, RagGrid, rAmCharts, RAthena, rbedrock, rcellminer, rdflib, reactR, REDCapCAST, renv, repurrrsive, rio, riskmetric, rjsoncons, rmapshaper, rosm, Rpoet, rtika, rvisidata, rworkflows, sccore, SCDB, selenider, sharpshootR, shiny.reglog, shinydashboardPlus, shinyInvoice, shotGroups, showtext, simona, sits, slickR, SNBdata, soilDB, solaR2, speckle, SSEparser, stars, stats19, stenR, stoRy, sugarglider, SummarizedExperiment, sunburstR, swagger, sysfonts, taxalight, teal.modules.general, TextMiningGUI, thematic, TheOpenAIR, this.path, tibblify, tractor.base, treeshap, tximport, ursa, ustfd, VariantAnnotation, vcr, vetiver, wallace, wbids, webfakes, whitewater, winfapReader, xaringan, xfun, xplorerr, yulab.utils, yyjsonr

Linking:

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