new QString(obj)
This class allow users to force a specific object to be recognized as a QString for the Writer. Javascript string are converted to QString objects internally. When parsed from reader, QString objects are converted back to Javascript string
Parameters:
| Name | Type | Description |
|---|---|---|
obj |
* |
- Source:
Example
new Writer(new QString(null)); // will be written as a null QString