Skip to main content

Module lua_json

Module lua_json 

Source
Expand description

Lua ↔ JSON value bridge.

Moved from src/bridge/mod.rs during the 4-crate split so that the MCP handler can reach these conversions without depending on agent-block-core. agent-block-core::bridge re-exports them for the other bridge modules (llm / mesh / mcp.lua), preserving the historical crate::bridge::* API.

Functions§

json_to_lua
Convert a serde_json::Value to a Lua value.
lua_to_json
Convert a Lua value to a serde_json::Value.