jsonFree (Function)

Signature: jsonFree(document: int) -> Result<int, Error>

Description: Releases a parsed JSON document handle obtained from jsonParse.

Parameters

  • document (int): Handle returned by jsonParse

Returns: Result<int, Error>

Example

jsonFree(doc)
jsonFree doc