Package: RJSONIO 2.0.5

RJSONIO: Serialize R Objects to JSON

Converts R objects to and from JavaScript Object Notation (JSON). The package provides a stable interface for reading JSON from strings, files, and connections, and for serializing common R objects, including vectors, lists, data frames, arrays, environments, and S4 objects. It also exposes parser handlers, callbacks, and S4 methods for applications that need customized JSON processing while preserving established RJSONIO behavior.

Authors:Yaoxiang Li [aut, ctb, cre], CRAN Team [aut], Duncan Temple Lang [aut], Jonathan Wallace [aut]

RJSONIO_2.0.5.tar.gz
RJSONIO_2.0.5.zip(r-4.7-x86_64)RJSONIO_2.0.5.zip(r-4.6-x86_64)RJSONIO_2.0.5.zip(r-4.5-x86_64)
RJSONIO_2.0.5.tgz(r-4.6-x86_64)RJSONIO_2.0.5.tgz(r-4.6-arm64)RJSONIO_2.0.5.tgz(r-4.5-x86_64)RJSONIO_2.0.5.tgz(r-4.5-arm64)
RJSONIO_2.0.5.tar.gz(r-4.7-arm64)RJSONIO_2.0.5.tar.gz(r-4.7-x86_64)RJSONIO_2.0.5.tar.gz(r-4.6-arm64)RJSONIO_2.0.5.tar.gz(r-4.6-x86_64)
RJSONIO_2.0.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
RJSONIO/json (API)

# Install 'RJSONIO' in R:
install.packages('RJSONIO', repos = c('https://yaoxiangli.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/yaoxiangli/rjsonio/issues

Pkgdown/docs site:https://yaoxiangli.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

11.48 score 1 stars 62 packages 2.4k scripts 20k downloads 10 mentions 24 exports 0 dependencies

Last updated from:326d89755e. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK112
linux-devel-x86_64OK132
source / vignettesOK260
linux-release-arm64OK116
linux-release-x86_64OK142
macos-release-arm64OK135
macos-release-x86_64OK212
macos-oldrel-arm64OK144
macos-oldrel-x86_64OK281
windows-devel-x86_64OK114
windows-release-x86_64OK116
windows-oldrel-x86_64OK106
wasm-releaseOK113

Exports:asJSVarsbasicJSONHandleremptyNamedListfromJSONisValidJSONJSON_T_ARRAY_BEGINJSON_T_ARRAY_ENDJSON_T_FALSEJSON_T_FLOATJSON_T_INTEGERJSON_T_KEYJSON_T_MAXJSON_T_NONEJSON_T_NULLJSON_T_OBJECT_BEGINJSON_T_OBJECT_ENDJSON_T_STRINGJSON_T_TRUEreadJSONStreamStrictStrictCharacterStrictLogicalStrictNumerictoJSON

Dependencies:

Choosing JSON Tools
RJSONIO's Role | Package Selection | Compatibility Contract | Performance Comparisons

Last update: 2026-05-14
Started: 2026-05-14

Advanced Customization
Parser handlers | String callbacks | JavaScript variable output | S4 objects

Last update: 2026-05-14
Started: 2026-05-14

Connections and Streaming
File paths | Text connections | File connections | Parser callbacks | Streaming parser | Practical notes

Last update: 2026-05-14
Started: 2026-05-14

Parsing JSON
Parse JSON text | Parse files | Parse connections | Null values | Simplification | Sample data

Last update: 2026-05-14
Started: 2026-05-14

RJSONIO
Basic parsing | Basic serialization | Validation | Round trips

Last update: 2026-05-14
Started: 2026-05-14

Type Mapping
JSON to R | R to JSON | Empty containers | Simplification constants

Last update: 2026-05-14
Started: 2026-05-14

Writing JSON
Atomic vectors | Lists and nested values | Data frames | Matrices and arrays | Missing and empty values | Numeric formatting

Last update: 2026-05-14
Started: 2026-05-14

Readme and manuals

Help Manual

Help pageTopics
Serialize R objects as Javsscript/ActionScript variablesasJSVars
Create handler for processing JSON elements from a parserbasicJSONHandler
Symbolic constants identifying the type of a JSON value.JSON_T_ARRAY_BEGIN JSON_T_ARRAY_END JSON_T_FALSE JSON_T_FLOAT JSON_T_INTEGER JSON_T_KEY JSON_T_MAX JSON_T_NONE JSON_T_NULL JSON_T_OBJECT_BEGIN JSON_T_OBJECT_END JSON_T_STRING JSON_T_TRUE
Convert JSON content to R objectsfromJSON fromJSON,AsIs,ANY-method fromJSON,AsIs,function-method fromJSON,AsIs,JSONParserHandler-method fromJSON,AsIs,NativeSymbolInfo-method fromJSON,AsIs,NULL-method fromJSON,character,ANY-method fromJSON,connection,ANY-method Strict StrictCharacter StrictLogical StrictNumeric
Test if JSON content is validisValidJSON isValidJSON,AsIs-method isValidJSON,character-method isValidJSON,connection-method
Read JSON from a Connection/StreamreadJSONStream
Convert an R object to a string in Javascript Object NotationemptyNamedList toJSON toJSON,ANY-method toJSON,array-method toJSON,AsIs-method toJSON,character-method toJSON,data.frame-method toJSON,environment-method toJSON,factor-method toJSON,function-method toJSON,hexmode-method toJSON,integer,missing-method toJSON,integer-method toJSON,list-method toJSON,logical-method toJSON,matrix-method toJSON,name-method toJSON,NULL-method toJSON,numeric-method