| 175 | |
| 176 | writer->field("processes", [&help](JSON::ArrayWriter* writer) { |
| 177 | foreachpair (const string& id, const StringStringMap& names, help.helps) { |
| 178 | writer->element([&id, &names](JSON::ObjectWriter* writer) { |
| 179 | writer->field("id", id); |
| 180 | writer->field("endpoints", [&names](JSON::ArrayWriter* writer) { |
| 181 | foreachpair (const string& name, const string& text, names) { |
| 182 | writer->element([&name, &text](JSON::ObjectWriter* writer) { |
| 183 | writer->field("name", name); |
| 184 | writer->field("text", text); |
| 185 | }); |
| 186 | } |
| 187 | }); |
| 188 | }); |
| 189 | } |
| 190 | }); |
| 191 | } |
| 192 |
nothing calls this directly
no outgoing calls
no test coverage detected