| Crates.io | llmx |
| lib.rs | llmx |
| version | 0.1.0 |
| created_at | 2026-01-22 16:26:16.532266+00 |
| updated_at | 2026-01-22 16:26:16.532266+00 |
| description | Utilities for working with LLM outputs (e.g. fuzzy JSON extraction/parsing). |
| homepage | |
| repository | https://github.com/fankaiLiu/llmx |
| max_upload_size | |
| id | 2062085 |
| size | 44,418 |
Utilities for working with LLM outputs.
Currently this crate focuses on turning "fuzzy" JSON-like text (common in LLM responses) into
real serde_json::Value.
use llmx::json::parse_fuzzy_json;
let v = parse_fuzzy_json("```json\n{'a': True, b: None}\n```").unwrap();
assert_eq!(v["a"], true);
assert!(v["b"].is_null());