Repairs malformed JSON strings, particularly those generated by Large Language Models. Handles missing quotes, trailing commas, unquoted keys, and other common JSON syntax errors.
| Version: | 0.2.1 |
| Depends: | R (≥ 4.2) |
| Suggests: | bit64, ellmer, testthat (≥ 3.0.0) |
| Published: | 2026-09-03 |
| DOI: | 10.32614/CRAN.package.llmjson |
| Author: | Dyfan Jones [aut, cre] |
| Maintainer: | Dyfan Jones <dyfan.r.jones at gmail.com> |
| BugReports: | https://github.com/DyfanJones/llmjson/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/DyfanJones/llmjson, https://dyfanjones.r-universe.dev/llmjson |
| NeedsCompilation: | yes |
| SystemRequirements: | Cargo (Rust's package manager), rustc |
| Materials: | README, NEWS |
| CRAN checks: | llmjson results |
| Reference manual: | llmjson.html , llmjson.pdf |
| Package source: | llmjson_0.2.1.tar.gz |
| Windows binaries: | r-devel: llmjson_0.1.0.zip, r-release: llmjson_0.1.0.zip, r-oldrel: llmjson_0.1.0.zip |
| macOS binaries: | r-release (arm64): llmjson_0.2.1.tgz, r-oldrel (arm64): llmjson_0.2.1.tgz, r-release (x86_64): llmjson_0.2.1.tgz, r-oldrel (x86_64): llmjson_0.2.1.tgz |
| Old sources: | llmjson archive |
Please use the canonical form https://CRAN.R-project.org/package=llmjson to link to this page.