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

Method toJsonStr

src/fl/math/screenmap.cpp.hpp:447–452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

445}
446
447void ScreenMap::toJsonStr(const fl::flat_map<string, ScreenMap> &segmentMaps,
448 string *jsonBuffer) {
449 fl::json doc;
450 toJson(segmentMaps, &doc);
451 *jsonBuffer = doc.to_string();
452}
453
454ScreenMap::ScreenMap(u32 length, float mDiameter)
455 : length(length), mDiameter(mDiameter) {

Callers

nothing calls this directly

Calls 1

to_stringMethod · 0.45

Tested by

no test coverage detected