SetNumber property: JsonNode class

Syntax

SetNumber(number_value)

Description

Use this method to set the number value of the node.

Parameters

Parameter Description

number_value

Specifies the number value of the node as a number.

Returns

None.

Example

Local JsonNode &jNode = CreateJsonNode();
&jNode.SetNumber(5);