| 3957 | void FastWriter::enableYAMLCompatibility() { yamlCompatiblityEnabled_ = true; } |
| 3958 | |
| 3959 | std::string FastWriter::write(const Value& root) { |
| 3960 | document_ = ""; |
| 3961 | writeValue(root); |
| 3962 | document_ += "\n"; |
| 3963 | return document_; |
| 3964 | } |
| 3965 | |
| 3966 | void FastWriter::writeValue(const Value& value) { |
| 3967 | switch (value.type()) { |
no outgoing calls
no test coverage detected