rustia-rs 0.1.2

Rust version of typia.io for type-safe JSON validation and LLM JSON parsing
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::collections::HashMap;

use rustia::LLMData;

#[derive(LLMData)]
struct NonStringMapKey {
    #[rustia(tags(values(tags(minLength(1)))))]
    names: HashMap<u32, String>,
}

fn main() {}