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.1.0 |
| Depends: | R (≥ 4.2) |
| Suggests: | bit64, ellmer, testthat (≥ 3.0.0) |
| Published: | 2026-03-11 |
| DOI: | 10.32614/CRAN.package.llmjson (may not be active yet) |
| 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.1.0.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): llmjson_0.1.0.tgz, r-oldrel (arm64): llmjson_0.1.0.tgz, r-release (x86_64): not available, r-oldrel (x86_64): not available |
Please use the canonical form https://CRAN.R-project.org/package=llmjson to link to this page.