json_plus::JSON_CreateNode(type, key, value)
Create a JSON node.
type
The type of JSON node. This can be 1 of the following:
JSON_TYPE::OBJECTJSON_TYPE::ARRAYJSON_TYPE::STRINGJSON_TYPE::NUMBERJSON_TYPE::BOOLEANJSON_TYPE::NULL_TYPE
key
The key of the Key-Value pair to create.
value
The value of the Key-Value pair to create.
Return Value
A JSON_NODE pointer that contains the Key-Value pair passed to the function, or NULL if the function fails.