| 130 | } |
| 131 | |
| 132 | std::string WorkflowJSON_Impl::string(bool includeHash) const { |
| 133 | Json::StreamWriterBuilder wbuilder; |
| 134 | // mimic the old StyledWriter behavior: |
| 135 | wbuilder["indentation"] = " "; |
| 136 | std::string result = Json::writeString(wbuilder, toJSON(includeHash)); |
| 137 | |
| 138 | return result; |
| 139 | } |
| 140 | |
| 141 | std::string WorkflowJSON_Impl::hash() const { |
| 142 | Json::Value defaultValue(""); |
no test coverage detected