class

FMcpJson

A JSON value: a tool's arguments, its input schema, its result content. Copies are deep. A key that is missing, or holds another type, reads as the fallback, so a handler never throws on a malformed call.

Module
EditorFramework
Header
#include "EditorFramework/McpServer.h"
Namespace
Mowo

Constructors

SignatureNameDescription
FMcpJson()FMcpJson
FMcpJson(const FMcpJson& other)FMcpJson
~FMcpJson()~FMcpJson

Public functions

ReturnsNameDescription
FMcpJson&operator=
FMcpJsonObject
FMcpJsonArray
FMcpJsonParseJSON text in; text that does not parse gives a null value.
std::stringDump
boolIsNull
boolContains
FMcpJsonGetThe member key of an object, null when there is none.
std::stringValue
std::stringValue
doubleValue
int64_tValue
int32_tValue
boolValue
FImpl*Impl

Function details

FMcpJson

C++
FMcpJson()

FMcpJson

C++
FMcpJson(const FMcpJson& other)

~FMcpJson

C++
~FMcpJson()

operator=

C++
FMcpJson& operator=(const FMcpJson& other)

Object

C++
static FMcpJson Object()

Array

C++
static FMcpJson Array()

Parse

C++
static FMcpJson Parse(const std::string& text)

JSON text in; text that does not parse gives a null value.

Dump

C++
std::string Dump() const

IsNull

C++
bool IsNull() const

Contains

C++
bool Contains(const std::string& key) const

Get

C++
FMcpJson Get(const std::string& key) const

The member key of an object, null when there is none.

Value

C++
std::string Value(const std::string& key, const std::string& fallback) const

Value

C++
std::string Value(const std::string& key, const char* fallback) const

Value

C++
double Value(const std::string& key, double fallback) const

Value

C++
int64_t Value(const std::string& key, int64_t fallback) const

Value

C++
int32_t Value(const std::string& key, int32_t fallback) const

Value

C++
bool Value(const std::string& key, bool fallback) const

Impl

C++
FImpl* Impl() const
Generated from EditorFramework/McpServer.h via editorframework.json · Nov 2, 2026Version 1.0.0