Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

Latest commit

 

History

History
20 lines (16 loc) · 841 Bytes

rjson-rjsonio_summary.md

File metadata and controls

20 lines (16 loc) · 841 Bytes

Summary of rjson and rjsonio packages

rjson

Package Functions:

newJsonParser - convert a collection of JSONobjects to R objects fromJSON - convert a JSON object into an R object toJSON - convert R to JSON (lists must have named components)

rjsonio

Package Functions:

asJSVars - takes R objects and serializes them as JavaScript/Action Script values basicJSONHandler - creates a handler object that is used to consume tokens/elements from a JSONparser and combine them into R objects Bob - symbolic constants identifying the type of a json value fromJSON - convert JSON content to R objects (deserializes into R objects) maps into R data types: logical, integer, numeric, character, named lists isValidJSON - test readJSONstream - parse from open connection toJSON - convert an R object to a string in JavaScript notation