Last data update: 2014.03.03

Data Source

R Release (3.2.3)
CranContrib
BioConductor
All

Data Type

Packages
Functions
Images
Data set

Classification

Results 1 - 6 of 6 found.
[1] < 1 > [1]  Sort:

isValidJSON (Package: RJSONIO) : Test if JSON content is valid

This function and its methods allows the caller to verify if the JSON content is strictly valid. Even if the content is invalid, the parser may still be able to make sense of it or at least get it partially correct and yield a result. So this function allows the caller to verify that the input is legitimate and not just rely on the parser not failing.
● Data Source: CranContrib
● Keywords: IO, programming
● Alias: isValidJSON, isValidJSON,AsIs-method, isValidJSON,character-method, isValidJSON,connection-method
● 0 images

toJSON (Package: RJSONIO) : Convert an R object to a string in Javascript Object Notation

This function and its methods convert an R object into a string that represents the object in Javascript Object Notation (JSON).
● Data Source: CranContrib
● Keywords: IO, programming
● Alias: toJSON, toJSON,ANY-method, toJSON,AsIs-method, toJSON,NULL-method, toJSON,array-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,numeric-method
● 0 images

fromJSON (Package: RJSONIO) : Convert JSON content to R objects

This function and its methods read content in JSON format and de-serializes it into R objects. JSON content is made up of logicals, integers, real numbers, strings, arrays of these and associative arrays/hash tables using key: value pairs. These map very naturally to R data types (logical, integer, numeric, character, and named lists).
● Data Source: CranContrib
● Keywords: IO, programming
● Alias: fromJSON, fromJSON,AsIs,ANY-method, fromJSON,AsIs,JSONParserHandler-method, fromJSON,AsIs,NULL-method, fromJSON,AsIs,NativeSymbolInfo-method, fromJSON,AsIs,function-method, fromJSON,character,ANY-method, fromJSON,connection,ANY-method
● 0 images

readJSONStream (Package: RJSONIO) : Read JSON from a Connection/Stream

This function is capable of reading and processing JSON content from a "stream". This is most likely to be from an R connection, but can be an arbitrary source of JSON content. The idea is that the parser will pull partial data from the source and process it immediately, and then return to retrieve more data. This allows the parser to work on the JSON content without it all being in memory at one time. This can save a significant amount of memory and make some computations feasible which would not be if we had to first read all of the JSON and then process it.
● Data Source: CranContrib
● Keywords: IO
● Alias: readJSONStream
● 0 images

asJSVars (Package: RJSONIO) : Serialize R objects as Javsscript/ActionScript variables

This function takes R objects and serializes them as Javascript/ActionScript values. It uses the specified names in the R call as Javascript variable names. One can also specify qualifiers (‘public’, ‘protected’, ‘private’) and also types. These are optional, but useful, in ActionScript.
● Data Source: CranContrib
● Keywords: IO, programming
● Alias: asJSVars
● 0 images

basicJSONHandler (Package: RJSONIO) : Create handler for processing JSON elements from a parser

This function creates a handler object that is used to consume tokens/elements from a JSON parser and combine them into R objects.
● Data Source: CranContrib
● Keywords: IO, programming
● Alias: basicJSONHandler
● 0 images