Skip to main content

JsonObject

Type Alias JsonObject 

Source
pub type JsonObject<F = Value> = Map<String, F>;
Expand description

A JSON object type alias for convenient handling of JSON data.

You can use crate::object! or crate::model::object to create a json object quickly. This is commonly used for storing arbitrary JSON data in MCP messages.

Aliased Typeยง

pub struct JsonObject<F = Value> { /* private fields */ }