json.JSONWriter methods
Methods for the json.JSONWriter
class.
Name | Description |
---|---|
|
Constructor of a JSONWriter object. |
Name | Description |
---|---|
|
Defines the charset used on the output stream. By default the charset is based on the charset set by the system. For example, on Windows it is Windows-1252, or on some Linux systems it is UTF-8. |
Name | Description |
---|---|
|
Sets the output stream of the JSONWriter object to a file or an URL, and starts streaming data. |
|
Sets the output stream of the JSONWriter object to a PIPE, and starts the streaming. |
|
Sets the output stream of the JSONWriter object to a TEXT large object, and starts the streaming. |
|
Sets a property of a JSONWriter object. |
|
Sets the value of a JSONWriter object. |
|
Sets a boolean value of a JSONWriter object. |
|
Sets the null value of a JSONWriter object. |
|
Returns the number of bytes written by the JSONWriter in the current stream. |
Name | Description |
---|---|
|
Closes any open tokens and writes the corresponding end JSON document token. |
|
Begins JSON encoding to the JSONWriter stream. |
|
Writes a JSON end object token to the JSONWriter stream. |
|
Writes a JSON start object token to the JSONWriter stream. |
|
Writes a JSON end array tag to the JSONWriter stream. |
|
Writes a JSON start array token to the JSONWriter stream. |
|
Closes the JSONWriter streaming, and releases all associated resources. |