Package: llmjson 0.1.0
llmjson: Repair Malformed JSON Strings
Repairs malformed JSON strings, particularly those generated by Large Language Models. Handles missing quotes, trailing commas, unquoted keys, and other common JSON syntax errors.
Authors:
llmjson_0.1.0.tar.gz
llmjson_0.1.0.zip(r-4.7)llmjson_0.1.0.zip(r-4.6)llmjson_0.1.0.zip(r-4.5)
llmjson_0.1.0.tgz(r-4.6-x86_64)llmjson_0.1.0.tgz(r-4.6-arm64)llmjson_0.1.0.tgz(r-4.5-x86_64)llmjson_0.1.0.tgz(r-4.5-arm64)
llmjson_0.1.0.tar.gz(r-4.7-arm64)llmjson_0.1.0.tar.gz(r-4.7-x86_64)llmjson_0.1.0.tar.gz(r-4.6-arm64)llmjson_0.1.0.tar.gz(r-4.6-x86_64)
llmjson_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
llmjson/json (API)
NEWS
| # Install 'llmjson' in R: |
| install.packages('llmjson', repos = c('https://dyfanjones.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/dyfanjones/llmjson/issues
Last updated from:fa3b732a0d. Checks:9 OK, 4 NOTE. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 142 | ||
| linux-devel-x86_64 | OK | 133 | ||
| source / vignettes | OK | 259 | ||
| linux-release-arm64 | OK | 144 | ||
| linux-release-x86_64 | OK | 147 | ||
| macos-release-arm64 | NOTE | 139 | ||
| macos-release-x86_64 | NOTE | 293 | ||
| macos-oldrel-arm64 | OK | 148 | ||
| macos-oldrel-x86_64 | OK | 220 | ||
| windows-devel | NOTE | 123 | ||
| windows-release | NOTE | 129 | ||
| windows-oldrel | OK | 207 | ||
| wasm-release | OK | 132 |
Exports:json_anyjson_arrayjson_booleanjson_datejson_enumjson_integerjson_numberjson_objectjson_schemajson_stringjson_timestamprepair_json_connrepair_json_filerepair_json_rawrepair_json_str
Dependencies:
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Build a compiled schema for efficient reuse | json_schema json_schema.ellmer::Type json_schema.LLMJsonSchema |
| Repair malformed JSON from a connection | repair_json_conn |
| Repair malformed JSON from a file | repair_json_file |
| Repair malformed JSON from raw bytes | repair_json_raw |
| Repair malformed JSON strings | repair_json_str |
| Schema builders for JSON repair and validation | json_any json_array json_boolean json_date json_enum json_integer json_number json_object json_string json_timestamp schema |
