to_string

JSON::to_string

Converts the JSON to a string.

Declaration

static std::string to_string(const Node& node);

Parameters

Name

Type

Description

node

const JSON::Node&

The root JSON::Node.

Returns

The JSON string for the whole hierarchy, with node as root.