RJSONIO: Serialize R objects to JSON, JavaScript Object Notation
Version 1.3-0

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.

Browse man pages Browse package API and functions Browse package files

AuthorDuncan Temple Lang
Date of publication2014-07-28 17:26:19
MaintainerDuncan Temple Lang <duncan@r-project.org>
LicenseBSD_3_clause + file LICENSE
Version1.3-0
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("RJSONIO")

Man pages

asJSVars: Serialize R objects as Javsscript/ActionScript variables
basicJSONHandler: Create handler for processing JSON elements from a parser
fromJSON: Convert JSON content to R objects
isValidJSON: Test if JSON content is valid
JSON_T_NULL: Symbolic constants identifying the type of a JSON value.
readJSONStream: Read JSON from a Connection/Stream
toJSON: Convert an R object to a string in Javascript Object Notation

Functions

JSON_T_ARRAY_BEGIN Man page
JSON_T_ARRAY_END Man page
JSON_T_FALSE Man page
JSON_T_FLOAT Man page
JSON_T_INTEGER Man page
JSON_T_KEY Man page
JSON_T_MAX Man page
JSON_T_NONE Man page
JSON_T_NULL Man page
JSON_T_OBJECT_BEGIN Man page
JSON_T_OBJECT_END Man page
JSON_T_STRING Man page
JSON_T_TRUE Man page
Strict Man page
StrictCharacter Man page
StrictLogical Man page
StrictNumeric Man page
asJSVars Man page
basicJSONHandler Man page
dQuote Source code
emptyNamedList Man page
fromJSON Man page
fromJSON,AsIs,ANY-method Man page
fromJSON,AsIs,JSONParserHandler-method Man page
fromJSON,AsIs,NULL-method Man page
fromJSON,AsIs,NativeSymbolInfo-method Man page
fromJSON,AsIs,function-method Man page
fromJSON,character,ANY-method Man page
fromJSON,connection,ANY-method Man page
getStringRoutineType Source code
isContainer Source code
isContent Source code
isValidJSON Man page
isValidJSON,AsIs-method Man page
isValidJSON,character-method Man page
isValidJSON,connection-method Man page
jsonPretty Source code
mapEncoding Source code
oldFromJSON Source code
readJSONStream Man page Source code
toJSON Man page
toJSON,ANY-method Man page Man page
toJSON,AsIs-method Man page
toJSON,NULL-method Man page
toJSON,array-method Man page
toJSON,character-method Man page
toJSON,data.frame-method Man page
toJSON,environment-method Man page
toJSON,factor-method Man page
toJSON,function-method Man page
toJSON,hexmode-method Man page
toJSON,integer,missing-method Man page
toJSON,integer-method Man page
toJSON,list-method Man page Man page
toJSON,logical-method Man page
toJSON,matrix-method Man page
toJSON,name-method Man page
toJSON,numeric-method Man page
trim Source code

Files

README.libjson
inst
inst/sampleData
inst/sampleData/keys.json
inst/sampleData/array.json
inst/sampleData/menu1.json
inst/sampleData/glossay.json
inst/sampleData/widget.json
inst/sampleData/nestedObj.json
inst/sampleData/usaColors.as
inst/sampleData/obj.json
inst/sampleData/obj2.json
inst/sampleData/obj1.json
inst/sampleData/usaPolygons.as
inst/sampleData/menu.json
inst/sampleData/obj3.json
inst/sampleData/int.json
inst/sampleData/nestedArray.json
inst/sampleData/array3.json
inst/sampleData/intScalar.json
inst/sampleData/embedded.json
inst/sampleData/array2.json
inst/doc
inst/doc/toJSONTimes.rda
inst/doc/missingValues.Rdb
inst/doc/timings.docx
inst/doc/overview.html
inst/doc/overview.Rdb
inst/doc/biblio.xml
inst/doc/fromJSONTimes.rda
inst/doc/overview.pdf
inst/doc/overview.bib
inst/doc/missingValues.html
inst/doc/overview.tex
inst/doc/performance.R
cp_libjson
Changes.html
configure.in
tests
tests/utf8.R
tests/keys.R
tests/empty.R
tests/con1.R
tests/bigInt.R
tests/simple.R
tests/encoding.R
tests/exp.R
tests/newsUTF8.rda
tests/simplify.R
tests/flat.json
tests/containers.R
tests/con2.R
tests/nested.json
tests/array.R
tests/scalarCollapse.R
tests/charNULL.R
tests/serialize.R
tests/toJSON.R
tests/prealloc.R
tests/performance.R
tests/s4.R
tests/stringFun.R
src
src/ConvertUTF.c
src/ConvertUTF.h
src/libjson
src/libjson/Source
src/libjson/Source/libjson.cpp
src/libjson/Source/JSONWriter.cpp
src/libjson/Source/JSONDefs.h
src/libjson/Source/JSONMemoryPool.h
src/libjson/Source/JSONNode.cpp
src/libjson/Source/NumberToString.h
src/libjson/Source/JSONNode_Mutex.cpp
src/libjson/Source/JSONStream.cpp
src/libjson/Source/JSONNode.h
src/libjson/Source/JSONChildren.cpp
src/libjson/Source/JSONPreparse.cpp
src/libjson/Source/JSONChildren.h
src/libjson/Source/JSONStats.h
src/libjson/Source/JSONIterators.cpp
src/libjson/Source/JSONSharedString.h
src/libjson/Source/internalJSONNode.cpp
src/libjson/Source/JSONStream.h
src/libjson/Source/JSONMemory.cpp
src/libjson/Source/JSONMemory.h
src/libjson/Source/JSONDefs
src/libjson/Source/JSONDefs/Unknown_C.h
src/libjson/Source/JSONDefs/Visual_C.h
src/libjson/Source/JSONDefs/GNU_C.h
src/libjson/Source/JSONDefs/Strings_Defs.h
src/libjson/Source/JSONGlobals.h
src/libjson/Source/JSONValidator.h
src/libjson/Source/JSONSingleton.h
src/libjson/Source/internalJSONNode.h
src/libjson/Source/JSONAllocator.h
src/libjson/Source/JSONWorker.h
src/libjson/Source/JSONValidator.cpp
src/libjson/Source/JSONAllocator.cpp
src/libjson/Source/JSONWorker.cpp
src/libjson/Source/JSON_Base64.h
src/libjson/Source/JSONDebug.h
src/libjson/Source/JSONDebug.cpp
src/libjson/Source/JSONPreparse.h
src/libjson/License.txt
src/libjson/makefile
src/libjson/bdr
src/libjson/README
src/libjson/libjson.h
src/libjson/JSONOptions.h
src/libjson/copy
src/JSON_parser.h
src/JSON_parser.c
src/Rlibjson.h
src/rparser.c
src/Makevars.in
src/RJSON.c
src/Makevars.win
src/rlibjson.c
Dependencies
Dependencies/libbase64++
Dependencies/libbase64++/libbase64++.h
Dependencies/mempool++
Dependencies/mempool++/mempool.h
NAMESPACE
R
R/isValid.R
R/stream.R
R/json.R
R/readJSON.R
R/simpleHandler.R
R/asVars.R
MD5
README
DESCRIPTION
Changes
cleanup.in
libjsonNotes
configure
man
man/isValidJSON.Rd
man/toJSON.Rd
man/fromJSON.Rd
man/JSON_T_NULL.Rd
man/readJSONStream.Rd
man/asJSVars.Rd
man/basicJSONHandler.Rd
configure.win
cleanup
.Rinstignore
Todo.xml
LICENSE
libjsonFixes
RJSONIO documentation built on May 19, 2017, 10:31 a.m.