JODA  0.13.1 (59b41972)
JSON On-Demand Analysis
Public Member Functions
JSONFileWriter Class Reference

#include <JSONFileWriter.h>

Public Member Functions

void writeFile (const std::string &file, const std::vector< std::string > &lines, bool append=false)
 

Detailed Description

A helper class serializing JSON documents into a file

Member Function Documentation

◆ writeFile()

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.

Parameters
fileThe file to write to
linesThe lines to write
appendDecides if lines are appended or the file is replaced
Here is the caller graph for this function:

The documentation for this class was generated from the following files: