JODA
0.13.1 (59b41972)
JSON On-Demand Analysis
|
#include <JSONFileWriter.h>
Public Member Functions | |
void | writeFile (const std::string &file, const std::vector< std::string > &lines, bool append=false) |
A helper class serializing JSON documents into a file
void JSONFileWriter::writeFile | ( | const std::string & | file, |
const std::vector< std::string > & | lines, | ||
bool | append = false |
||
) |
Writes all text-lines contained in lines to the file.
file | The file to write to |
lines | The lines to write |
append | Decides if lines are appended or the file is replaced |