fastgeojson: High-Performance 'GeoJSON' and 'JSON' Serialization

Converts R data frames and 'sf' spatial objects into 'JSON' and 'GeoJSON' strings. The core encoders are implemented in 'Rust' using the 'extendr' framework and are designed to efficiently serialize large tabular and spatial datasets. Returns serialized 'JSON' text, allowing applications such as 'shiny' or web APIs to transfer data to client-side 'JavaScript' libraries without additional encoding overhead.

Version: 0.1.3
Suggests: testthat (≥ 3.0.0), jsonlite, sf, leaflet
Published: 2026-01-23
DOI: 10.32614/CRAN.package.fastgeojson
Author: Alex Jorion [aut, cre], The authors of the dependency Rust crates [ctb] (see inst/AUTHORS file for details)
fastgeojson author details
Maintainer: Alex Jorion <alex.jorion at firstzeroenergy.com>
BugReports: https://github.com/firstzeroenergy/fastgeojson/issues
License: MIT + file LICENSE
URL: https://github.com/firstzeroenergy/fastgeojson
NeedsCompilation: yes
SystemRequirements: Cargo (Rust's package manager), rustc
Materials: README, NEWS
CRAN checks: fastgeojson results

Documentation:

Reference manual: fastgeojson.html , fastgeojson.pdf

Downloads:

Package source: fastgeojson_0.1.3.tar.gz
Windows binaries: r-devel: fastgeojson_0.1.3.zip, r-release: fastgeojson_0.1.2.zip, r-oldrel: fastgeojson_0.1.2.zip
macOS binaries: r-release (arm64): fastgeojson_0.1.3.tgz, r-oldrel (arm64): fastgeojson_0.1.3.tgz, r-release (x86_64): fastgeojson_0.1.3.tgz, r-oldrel (x86_64): fastgeojson_0.1.3.tgz
Old sources: fastgeojson archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=fastgeojson to link to this page.