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

Method serialize_value

src/fl/stl/json.cpp.hpp:1160–1166  ·  view source on GitHub ↗

Serialize a json_value recursively

Source from the content-addressed store, hash-verified

1158
1159 // Serialize a json_value recursively
1160 void serialize_value(const json_value* value) {
1161 if (!value) {
1162 append("null");
1163 return;
1164 }
1165 value->data.visit(*this);
1166 }
1167
1168 // accept() overloads - called by variant::visit() with direct references
1169 void accept(const fl::nullptr_t&) { append("null"); }

Callers 1

to_string_nativeMethod · 0.80

Calls 1

visitMethod · 0.45

Tested by

no test coverage detected