RJSONIO

From MaRDI portal
Software:32892



swMATH21080CRANRJSONIOMaRDI QIDQ32892

Serialize R Objects to JSON, JavaScript Object Notation

Duncan Temple Lang, Jonathan Wallace

Last update: 27 November 2023

Software version identifier: 1.3-1.8, 0.3-1, 0.4-1, 0.5-0, 0.7-1, 0.7-2, 0.7-3, 0.8-1, 0.8-2, 0.91-0, 0.92-0, 0.94-0, 0.95-0, 0.96-0, 0.97-0, 0.98-0, 0.98-1, 1.0-0, 1.0-1, 1.0-2, 1.0-3, 1.2-0.1, 1.2-0.2, 1.3-0, 1.3-1.1, 1.3-1.2, 1.3-1.3, 1.3-1.4, 1.3-1.5, 1.3-1.6, 1.3-1.7, 1.3-1, 1.3-1.9

Source code repository: https://github.com/cran/RJSONIO

Copyright license: 3-clause BSD License, File License

This is a package that allows conversion to and from data in Javascript object notation (JSON) format. This allows R objects to be inserted into Javascript/ECMAScript/ActionScript code and allows R programmers to read and convert JSON content to R objects. This is an alternative to rjson package. Originally, that was too slow for converting large R objects to JSON and was not extensible. rjson's performance is now similar to this package, and perhaps slightly faster in some cases. This package uses methods and is readily extensible by defining methods for different classes, vectorized operations, and C code and callbacks to R functions for deserializing JSON objects to R. The two packages intentionally share the same basic interface. This package (RJSONIO) has many additional options to allow customizing the generation and processing of JSON content. This package uses libjson rather than implementing yet another JSON parser. The aim is to support other general projects by building on their work, providing feedback and benefit from their ongoing development.