The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
An R-safe profile of RFC 8259 JSON: parsing and generation backed by the 'Jansson' C library, linked as a system library where one is available and compiled from the bundled sources otherwise. The parser rejects, with classed conditions carrying line, column, and byte position: malformed or truncated input, trailing content, duplicate object keys at any depth, invalid UTF-8, escapes encoding a null character, reals overflowing double, and integer literals whose magnitude exceeds 2^53, the range within which a double represents every integer exactly. Number literals with a fraction or exponent convert by ordinary correctly rounded IEEE 754 double conversion. Objects decode to named lists in key order, arrays to unnamed lists, and scalars to length-one vectors. The encoder maps named lists to objects in insertion order, unnamed lists to arrays, guarantees that every finite double, signed zero included, round-trips to the exact same value (whole-number doubles are written as integers), and refuses values with no faithful JSON representation (NA, NaN, infinities, named atomic vectors, classed objects) instead of guessing. No R package dependencies.
| Version: | 0.1.2 |
| Depends: | R (≥ 4.4.0) |
| Suggests: | tinytest |
| Published: | 2026-09-12 |
| DOI: | 10.32614/CRAN.package.janssonr |
| Author: | Troy Hernandez |
| Maintainer: | Troy Hernandez <troy at cornball.ai> |
| BugReports: | https://github.com/cornball-ai/janssonr/issues |
| License: | MIT + file LICENSE |
| Copyright: | cornball.ai, except the bundled Jansson sources under
src/jansson, whose per-file copyright holders and license
statements are listed in inst/COPYRIGHTS. janssonr copyright details |
| URL: | https://github.com/cornball-ai/janssonr |
| NeedsCompilation: | yes |
| SystemRequirements: | jansson (>= 2.11) is linked when present: libjansson-dev (deb), jansson-devel (rpm), jansson (brew). When it is absent, and always on Windows, the bundled Jansson 2.15.1 is compiled into the package. |
| Materials: | README, NEWS |
| CRAN checks: | janssonr results [issues need fixing before 2026-10-05] |
| Reference manual: | janssonr.html , janssonr.pdf |
| Package source: | janssonr_0.1.2.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): janssonr_0.1.2.tgz, r-release (x86_64): janssonr_0.1.2.tgz, r-oldrel (x86_64): janssonr_0.1.2.tgz |
Please use the canonical form https://CRAN.R-project.org/package=janssonr to link to this page.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.