| 445 | } |
| 446 | |
| 447 | void 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 | |
| 454 | ScreenMap::ScreenMap(u32 length, float mDiameter) |
| 455 | : length(length), mDiameter(mDiameter) { |