29#include <sptk5/xdoc/Node.h>
46 String betweenElements {
","};
51 static void exportJsonValueTo(
const Node* node, std::ostream& stream,
bool formatted,
size_t indent);
53 static void exportJsonArray(
const Node* node, std::ostream& stream,
bool formatted,
size_t indent,
54 const Formatting& formatting);
56 static void exportJsonObject(
const Node* node, std::ostream& stream,
bool formatted,
size_t indent,
57 const Formatting& formatting);
59 static void exportNodeAttributes(
const Node* node, std::ostream& stream,
bool formatted,
const String& firstElement);
Definition: ExportJSON.h:34
static void exportToJSON(const Node *node, sptk::Buffer &json, bool formatted)