getString

JSON::Node::getString

Returns the string contained in a String Node.

Declaration

std::string getString() const;

Parameters

None.

Returns

The value of a String JSON::Node.

Notes

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