Method ToJsonStringAsync
| Improve this Doc View SourceToJsonStringAsync(Boolean, CancellationToken)
Serializes this database recordset into JSON string.
Declaration
public Task<string> ToJsonStringAsync(bool isPretty, CancellationToken ct = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isPretty | Specifies whether serialized JSON string should be indented. |
System.Threading.CancellationToken | ct | The async cancellation token. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.String> | The serialized JSON string. |