Skip to main content

from_json

Function from_json 

Source
pub fn from_json(
    input: &Map<String, Value>,
) -> Result<Converted<Schema>, TransformError>
Expand description

Convert the exact typed Gemini subset. Unknown validation keywords fail; callers can choose an endpoint’s raw JSON Schema field where supported.