Function regorust::regoNodeJSONSize

source ยท
pub unsafe extern "C" fn regoNodeJSONSize(
    node: *mut regoNode,
) -> regoSize
Expand description

Returns the number of bytes needed to store a 0-terminated string representing the JSON representation of the node.

The value returned by this function can be used to allocate a buffer to pass to regoNodeJSON.

@param node The node. @return The number of bytes needed to store the JSON representation.