jsonlite: A Robust, High Performance JSON Parser and Generator for R

Share:

A fast JSON parser and generator optimized for statistical data and the web. Started out as a fork of 'RJSONIO', but has been completely rewritten in recent versions. The package offers flexible, robust, high performance tools for working with JSON in R and is particularly powerful for building pipelines and interacting with a web API. The implementation is based on the mapping described in the vignette (Ooms, 2014). In addition to converting JSON data from/to R objects, 'jsonlite' contains functions to stream, validate, and prettify JSON data. The unit tests included with the package verify that all edge cases are encoded and decoded consistently for use with dynamic data in systems and applications.

Author
Jeroen Ooms, Duncan Temple Lang, Lloyd Hilaiel
Date of publication
2016-09-14 19:44:17
Maintainer
Jeroen Ooms <jeroen.ooms@stat.ucla.edu>
License
MIT + file LICENSE
Version
1.1
URLs

View on CRAN

Man pages

base64
Encode/decode base64
flatten
Flatten nested data frames
fromJSON
Convert R objects to/from JSON
prettify
Prettify or minify a JSON string
rbind.pages
Combine pages into a single data frame
serializeJSON
serialize R objects to JSON
stream_in
Streaming JSON input/output
unbox
Unbox a vector or data frame
validate
Validate JSON

Files in this package

jsonlite
jsonlite/inst
jsonlite/inst/CITATION
jsonlite/inst/doc
jsonlite/inst/doc/json-aaquickstart.R
jsonlite/inst/doc/json-paging.html
jsonlite/inst/doc/json-apis.html
jsonlite/inst/doc/json-aaquickstart.Rmd
jsonlite/inst/doc/json-apis.Rmd
jsonlite/inst/doc/json-opencpu.Rnw
jsonlite/inst/doc/json-opencpu.pdf
jsonlite/inst/doc/json-opencpu.R
jsonlite/inst/doc/json-mapping.pdf.asis
jsonlite/inst/doc/json-aaquickstart.html
jsonlite/inst/doc/json-mapping.pdf
jsonlite/inst/doc/json-paging.Rmd
jsonlite/tests
jsonlite/tests/testthat.R
jsonlite/tests/testthat
jsonlite/tests/testthat/test-libjson-utf8.R
jsonlite/tests/testthat/test-toJSON-keep-vec-names.R
jsonlite/tests/testthat/test-toJSON-NA-values.R
jsonlite/tests/testthat/test-libjson-escaping.R
jsonlite/tests/testthat/test-serializeJSON-types.R
jsonlite/tests/testthat/test-fromJSON-dataframe.R
jsonlite/tests/testthat/test-toJSON-Date.R
jsonlite/tests/testthat/helper-toJSON.R
jsonlite/tests/testthat/test-fromJSON-array.R
jsonlite/tests/testthat/test-serializeJSON-functions.R
jsonlite/tests/testthat/test-toJSON-factor.R
jsonlite/tests/testthat/test-toJSON-logical.R
jsonlite/tests/testthat/flatten.R
jsonlite/tests/testthat/test-serializeJSON-datasets.R
jsonlite/tests/testthat/test-toJSON-numeric.R
jsonlite/tests/testthat/testS4.R
jsonlite/tests/testthat/test-toJSON-raw.R
jsonlite/tests/testthat/test-toJSON-complex.R
jsonlite/tests/testthat/test-fromJSON-datasets.R
jsonlite/tests/testthat/test-libjson-validator.R
jsonlite/tests/testthat/test-toJSON-dataframe.R
jsonlite/tests/testthat/test-toJSON-NULL-values.R
jsonlite/tests/testthat/issues.txt
jsonlite/tests/testthat/readme.txt
jsonlite/tests/testthat/test-libjson-large.R
jsonlite/tests/testthat/test-network-Github.R
jsonlite/tests/testthat/test-toJSON-zerovec.R
jsonlite/tests/testthat/test-fromJSON-matrix.R
jsonlite/tests/testthat/test-toJSON-matrix.R
jsonlite/tests/testthat/test-fromJSON-date.R
jsonlite/tests/testthat/test-toJSON-POSIXt.R
jsonlite/tests/testthat/test-toJSON-AsIs.R
jsonlite/tests/testthat/test-fromJSON-NA-values.R
jsonlite/src
jsonlite/src/escape_chars.c
jsonlite/src/Makevars
jsonlite/src/base64.c
jsonlite/src/collapse_pretty.c
jsonlite/src/num_to_char.c
jsonlite/src/base64.h
jsonlite/src/integer64_to_na.c
jsonlite/src/null_to_na.c
jsonlite/src/yajl
jsonlite/src/yajl/yajl_encode.c
jsonlite/src/yajl/yajl_gen.c
jsonlite/src/yajl/yajl_tree.c
jsonlite/src/yajl/yajl_alloc.h
jsonlite/src/yajl/yajl_parser.c
jsonlite/src/yajl/yajl_alloc.c
jsonlite/src/yajl/yajl_version.c
jsonlite/src/yajl/yajl_lex.h
jsonlite/src/yajl/readme.txt
jsonlite/src/yajl/yajl.c
jsonlite/src/yajl/api
jsonlite/src/yajl/api/yajl_gen.h
jsonlite/src/yajl/api/yajl_version.h
jsonlite/src/yajl/api/yajl_parse.h
jsonlite/src/yajl/api/yajl_common.h
jsonlite/src/yajl/api/yajl_tree.h
jsonlite/src/yajl/yajl_buf.h
jsonlite/src/yajl/yajl_parser.h
jsonlite/src/yajl/yajl_lex.c
jsonlite/src/yajl/yajl_encode.h
jsonlite/src/yajl/yajl_buf.c
jsonlite/src/yajl/yajl_bytestack.h
jsonlite/src/validate.c
jsonlite/src/row_collapse.c
jsonlite/src/collapse_object.c
jsonlite/src/modp_numtoa.c
jsonlite/src/push_parser.c
jsonlite/src/is_recordlist.c
jsonlite/src/r-base64.c
jsonlite/src/collapse_array.c
jsonlite/src/is_scalarlist.c
jsonlite/src/push_parser.h
jsonlite/src/prettify.c
jsonlite/src/modp_numtoa.h
jsonlite/src/parse.c
jsonlite/NAMESPACE
jsonlite/NEWS
jsonlite/R
jsonlite/R/asJSON.POSIXt.R
jsonlite/R/asJSON.logical.R
jsonlite/R/stop.R
jsonlite/R/asJSON.array.R
jsonlite/R/fromJSON.R
jsonlite/R/cleannames.R
jsonlite/R/serializeJSON.R
jsonlite/R/asJSON.AAAgeneric.R
jsonlite/R/asJSON.NULL.R
jsonlite/R/asJSON.pairlist.R
jsonlite/R/prettify.R
jsonlite/R/makesymbol.R
jsonlite/R/asJSON.int64.R
jsonlite/R/asJSON.scalar.R
jsonlite/R/asJSON.classRepresentation.R
jsonlite/R/asJSON.AsIs.R
jsonlite/R/is.recordlist.R
jsonlite/R/list_to_vec.R
jsonlite/R/unescape_unicode.R
jsonlite/R/simplifyDataFrame.R
jsonlite/R/pack.R
jsonlite/R/rbind.pages.R
jsonlite/R/flatten.R
jsonlite/R/raw_to_json.R
jsonlite/R/apply_by_pages.R
jsonlite/R/asJSON.raw.R
jsonlite/R/simplify.R
jsonlite/R/num_to_char.R
jsonlite/R/asJSON.ts.R
jsonlite/R/fixNativeSymbol.R
jsonlite/R/is.scalarlist.R
jsonlite/R/null_to_na.R
jsonlite/R/print.R
jsonlite/R/asJSON.numeric.R
jsonlite/R/asJSON.json.R
jsonlite/R/utf8conv.R
jsonlite/R/parseJSON.R
jsonlite/R/loadpkg.R
jsonlite/R/warn_keep_vec_names.R
jsonlite/R/helpfunctions.R
jsonlite/R/toJSON.R
jsonlite/R/asJSON.complex.R
jsonlite/R/as.scalar.R
jsonlite/R/base64.R
jsonlite/R/asJSON.function.R
jsonlite/R/stream.R
jsonlite/R/deparse_vector.R
jsonlite/R/collapse.R
jsonlite/R/asJSON.character.R
jsonlite/R/asJSON.factor.R
jsonlite/R/collapse_object.R
jsonlite/R/asJSON.list.R
jsonlite/R/unbox.R
jsonlite/R/asJSON.Date.R
jsonlite/R/validate.R
jsonlite/R/asJSON.data.frame.R
jsonlite/R/push_parser.R
jsonlite/R/asJSON.ANY.R
jsonlite/vignettes
jsonlite/vignettes/json-apis.Rmd.orig
jsonlite/vignettes/json-aaquickstart.Rmd
jsonlite/vignettes/json-apis.Rmd
jsonlite/vignettes/json-opencpu.Rnw
jsonlite/vignettes/references.bib
jsonlite/vignettes/json-paging.Rmd.orig
jsonlite/vignettes/json-mapping.pdf.asis
jsonlite/vignettes/json-mapping.Rnw.orig
jsonlite/vignettes/json-paging.Rmd
jsonlite/vignettes/precompile.R
jsonlite/MD5
jsonlite/build
jsonlite/build/vignette.rds
jsonlite/DESCRIPTION
jsonlite/man
jsonlite/man/unbox.Rd
jsonlite/man/prettify.Rd
jsonlite/man/fromJSON.Rd
jsonlite/man/base64.Rd
jsonlite/man/validate.Rd
jsonlite/man/rbind.pages.Rd
jsonlite/man/flatten.Rd
jsonlite/man/serializeJSON.Rd
jsonlite/man/stream_in.Rd
jsonlite/LICENSE