setString

JSON::Node::setString

Sets the value of a String Node.

Declaration

void setString(const std::string& string);

Parameters

Name

Type

Description

string

const std::string&

The value to set for the JSON::Node.

Returns

None.

Notes

This function can only be called on a JSON::Node with the String JSON::Type.