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

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.

Install the latest version of this package by entering the following in R:
install.packages("jsonlite")
AuthorJeroen Ooms, Duncan Temple Lang, Lloyd Hilaiel
Date of publication2017-04-08 21:03:40 UTC
MaintainerJeroen Ooms <jeroen@berkeley.edu>
LicenseMIT + file LICENSE
Version1.4
https://arxiv.org/abs/1403.2805, https://www.opencpu.org/posts/jsonlite-a-smarter-json-encoder

View on CRAN

Files

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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.