RJSONIO

Serialize R objects to JSON, JavaScript Object Notation

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.

Total

2,153,015

Last month

60,418

Last week

15,662

Average per day

2,014

Daily downloads

Total downloads

Description file content

Package
RJSONIO
Version
1.3-0
Title
Serialize R objects to JSON, JavaScript Object Notation
Description
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.
Note
See http://www.json.org/JSON_checker/test.zip for tests. We now use code from the libjson project (http://libjson.sourceforge.net).
License
BSD_3_clause + file LICENSE
Imports
methods
Author
Duncan Temple Lang
Maintainer
Duncan Temple Lang
Collate
readJSON.R asVars.R isValid.R json.R simpleHandler.R stream.R
Biarch
true
Packaged
2014-07-28 15:19:10 UTC; ripley
NeedsCompilation
yes
Repository
CRAN
Date/Publication
2014-07-28 17:26:19

install.packages('RJSONIO')

1.3-0

04 years ago

Duncan Temple Lang

BSD_3_clause + file LICENSE

Imports

methods

Discussions