Write a JSON text representation of json to output.
Return 0 on success and a non-zero value otherwise. See the documented write overload for full contract details.
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| output | stream to receive the JSON text |
| json | document to serialize |