__jsonWriterClose (Function)
Signature: __jsonWriterClose(writer: int) -> Result<string, Error>
Description: Internal primitive of jsonEncode: closes a writer and returns its document, or the first refusal. Call jsonEncode instead.
Parameters
- writer (int): Handle from __jsonWriterOpen
Returns: Result<string, Error>
Example
jsonEncode(JsonNull)
jsonEncode JsonNull