Package: yyjsonr 0.1.20

Mike Cheng

yyjsonr: Fast 'JSON', 'NDJSON' and 'GeoJSON' Parser and Generator

A fast 'JSON' parser, generator and validator which converts 'JSON', 'NDJSON' (Newline Delimited 'JSON') and 'GeoJSON' (Geographic 'JSON') data to/from R objects. The standard R data types are supported (e.g. logical, numeric, integer) with configurable handling of NULL and NA values. Data frames, atomic vectors and lists are all supported as data containers translated to/from 'JSON'. 'GeoJSON' data is read in as 'simple features' objects. This implementation wraps the 'yyjson' 'C' library which is available from <https://github.com/ibireme/yyjson>.

Authors:Mike Cheng [aut, cre, cph], Yao Yuan [aut, cph]

yyjsonr_0.1.20.tar.gz
yyjsonr_0.1.20.tar.gz(r-4.5-noble)yyjsonr_0.1.20.tar.gz(r-4.4-noble)
yyjsonr_0.1.20.tgz(r-4.4-emscripten)yyjsonr_0.1.20.tgz(r-4.3-emscripten)
yyjsonr.pdf |yyjsonr.html
yyjsonr/json (API)
NEWS

# Install 'yyjsonr' in R:
install.packages('yyjsonr', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/coolbutuseless/yyjsonr/issues

Pkgdown site:https://coolbutuseless.github.io

Uses libs:
  • zlib– Compression library

zlib

4.38 score 4 packages 22 scripts 495 downloads 23 exports 0 dependencies

Last updated 9 months agofrom:640e30ee7c. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 07 2024
R-4.5-linux-x86_64OKDec 07 2024

Exports:opts_read_geojsonopts_read_jsonopts_write_geojsonopts_write_jsonread_geojson_fileread_geojson_strread_json_connread_json_fileread_json_rawread_json_strread_ndjson_fileread_ndjson_strvalidate_json_filevalidate_json_strwrite_geojson_filewrite_geojson_strwrite_json_filewrite_json_strwrite_ndjson_filewrite_ndjson_stryyjson_read_flagyyjson_versionyyjson_write_flag

Dependencies:

Comparison to jsonlite parsing

Rendered fromjsonlite-comparison.Rmdusingknitr::rmarkdownon Dec 07 2024.

Last update: 2024-01-18
Started: 2024-01-18

Configuration Options for Parsing from JSON

Rendered fromfrom_json_options.Rmdusingknitr::rmarkdownon Dec 07 2024.

Last update: 2024-01-18
Started: 2024-01-18

Configuration Options for Serializing to JSON

Rendered fromto_json_options.Rmdusingknitr::rmarkdownon Dec 07 2024.

Last update: 2024-01-18
Started: 2024-01-18