MCPcopy Create free account
hub / github.com/FastLED/FastLED / printJsonRaw

Function printJsonRaw

examples/AutoResearch/AutoResearchRemote.cpp:54–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52// ============================================================================
53
54void printJsonRaw(const fl::json& json, const char* prefix) {
55 // Serialize and print response
56 fl::string formatted = fl::formatJsonResponse(json, prefix);
57 fl::println(formatted.c_str());
58 fl::flush();
59}
60
61void printStreamRaw(const char* messageType, const fl::json& data) {
62 // Build pure JSONL message: RESULT: {"type":"...", ...data}

Callers

nothing calls this directly

Calls 4

formatJsonResponseFunction · 0.85
printlnFunction · 0.50
flushFunction · 0.50
c_strMethod · 0.45

Tested by

no test coverage detected