Last data update: 2014.03.03

RJSONIO

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 <duncan@r-project.org>
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

● Cran Task View: WebTechnologies
● 0 images, 6 functions, 1 datasets
Reverse Depends: 19

Install log

* installing to library '/home/ddbj/local/lib64/R/library'
* installing *source* package 'RJSONIO' ...
** package 'RJSONIO' successfully unpacked and MD5 sums checked
Trying to find libjson.h header file
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
USE_LOCAL = ""
Minor Version: 6
Using local libjson code. Copying files from src/libjson/Source
/tmp/RtmpxVvaOd/R.INSTALL6bde5f0572f/RJSONIO
JSONAllocator.cpp
JSONChildren.cpp
JSONDebug.cpp
JSONIterators.cpp
JSONMemory.cpp
JSONNode.cpp
JSONNode_Mutex.cpp
JSONPreparse.cpp
JSONStream.cpp
JSONValidator.cpp
JSONWorker.cpp
JSONWriter.cpp
internalJSONNode.cpp
libjson.cpp
configure: creating ./config.status
config.status: creating src/Makevars
config.status: creating cleanup
** libs
gcc -I/home/ddbj/local/lib64/R/include -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_STREAM=1 -DJSON_VALIDATE -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1  -DJSON_ISO_STRICT -I/usr/local/include    -fpic  -g -O2  -c ConvertUTF.c -o ConvertUTF.o
g++ -I/home/ddbj/local/lib64/R/include -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_STREAM=1 -DJSON_VALIDATE -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1  -DJSON_ISO_STRICT -I/usr/local/include    -fpic  -g -O2  -c JSONAllocator.cpp -o JSONAllocator.o
g++ -I/home/ddbj/local/lib64/R/include -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_STREAM=1 -DJSON_VALIDATE -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1  -DJSON_ISO_STRICT -I/usr/local/include    -fpic  -g -O2  -c JSONChildren.cpp -o JSONChildren.o
g++ -I/home/ddbj/local/lib64/R/include -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_STREAM=1 -DJSON_VALIDATE -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1  -DJSON_ISO_STRICT -I/usr/local/include    -fpic  -g -O2  -c JSONDebug.cpp -o JSONDebug.o
g++ -I/home/ddbj/local/lib64/R/include -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_STREAM=1 -DJSON_VALIDATE -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1  -DJSON_ISO_STRICT -I/usr/local/include    -fpic  -g -O2  -c JSONIterators.cpp -o JSONIterators.o
g++ -I/home/ddbj/local/lib64/R/include -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_STREAM=1 -DJSON_VALIDATE -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1  -DJSON_ISO_STRICT -I/usr/local/include    -fpic  -g -O2  -c JSONMemory.cpp -o JSONMemory.o
g++ -I/home/ddbj/local/lib64/R/include -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_STREAM=1 -DJSON_VALIDATE -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1  -DJSON_ISO_STRICT -I/usr/local/include    -fpic  -g -O2  -c JSONNode.cpp -o JSONNode.o
g++ -I/home/ddbj/local/lib64/R/include -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_STREAM=1 -DJSON_VALIDATE -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1  -DJSON_ISO_STRICT -I/usr/local/include    -fpic  -g -O2  -c JSONNode_Mutex.cpp -o JSONNode_Mutex.o
g++ -I/home/ddbj/local/lib64/R/include -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_STREAM=1 -DJSON_VALIDATE -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1  -DJSON_ISO_STRICT -I/usr/local/include    -fpic  -g -O2  -c JSONPreparse.cpp -o JSONPreparse.o
g++ -I/home/ddbj/local/lib64/R/include -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_STREAM=1 -DJSON_VALIDATE -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1  -DJSON_ISO_STRICT -I/usr/local/include    -fpic  -g -O2  -c JSONStream.cpp -o JSONStream.o
g++ -I/home/ddbj/local/lib64/R/include -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_STREAM=1 -DJSON_VALIDATE -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1  -DJSON_ISO_STRICT -I/usr/local/include    -fpic  -g -O2  -c JSONValidator.cpp -o JSONValidator.o
g++ -I/home/ddbj/local/lib64/R/include -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_STREAM=1 -DJSON_VALIDATE -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1  -DJSON_ISO_STRICT -I/usr/local/include    -fpic  -g -O2  -c JSONWorker.cpp -o JSONWorker.o
g++ -I/home/ddbj/local/lib64/R/include -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_STREAM=1 -DJSON_VALIDATE -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1  -DJSON_ISO_STRICT -I/usr/local/include    -fpic  -g -O2  -c JSONWriter.cpp -o JSONWriter.o
gcc -I/home/ddbj/local/lib64/R/include -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_STREAM=1 -DJSON_VALIDATE -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1  -DJSON_ISO_STRICT -I/usr/local/include    -fpic  -g -O2  -c JSON_parser.c -o JSON_parser.o
gcc -I/home/ddbj/local/lib64/R/include -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_STREAM=1 -DJSON_VALIDATE -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1  -DJSON_ISO_STRICT -I/usr/local/include    -fpic  -g -O2  -c RJSON.c -o RJSON.o
g++ -I/home/ddbj/local/lib64/R/include -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_STREAM=1 -DJSON_VALIDATE -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1  -DJSON_ISO_STRICT -I/usr/local/include    -fpic  -g -O2  -c internalJSONNode.cpp -o internalJSONNode.o
g++ -I/home/ddbj/local/lib64/R/include -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_STREAM=1 -DJSON_VALIDATE -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1  -DJSON_ISO_STRICT -I/usr/local/include    -fpic  -g -O2  -c libjson.cpp -o libjson.o
gcc -I/home/ddbj/local/lib64/R/include -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_STREAM=1 -DJSON_VALIDATE -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1  -DJSON_ISO_STRICT -I/usr/local/include    -fpic  -g -O2  -c rlibjson.c -o rlibjson.o
rlibjson.c: In function 'R_fromJSON':
rlibjson.c:49:9: note: #pragma message: activate the debug_callback
 #pragma message("activate the debug_callback")
         ^
gcc -I/home/ddbj/local/lib64/R/include -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_STREAM=1 -DJSON_VALIDATE -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1  -DJSON_ISO_STRICT -I/usr/local/include    -fpic  -g -O2  -c rparser.c -o rparser.o
g++ -shared -L/home/ddbj/local/lib64/R/lib -L/usr/local/lib64 -o RJSONIO.so ConvertUTF.o JSONAllocator.o JSONChildren.o JSONDebug.o JSONIterators.o JSONMemory.o JSONNode.o JSONNode_Mutex.o JSONPreparse.o JSONStream.o JSONValidator.o JSONWorker.o JSONWriter.o JSON_parser.o RJSON.o internalJSONNode.o libjson.o rlibjson.o rparser.o -L/home/ddbj/local/lib64/R/lib -lR
installing to /home/ddbj/local/lib64/R/library/RJSONIO/libs
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
  converting help for package 'RJSONIO'
    finding HTML links ... done
    JSON_T_NULL                             html  
    asJSVars                                html  
    basicJSONHandler                        html  
    fromJSON                                html  
    isValidJSON                             html  
    readJSONStream                          html  
    toJSON                                  html  
** building package indices
** testing if installed package can be loaded
* DONE (RJSONIO)
Making 'packages.html' ... done