Show / Hide Table of Contents

Method ToJsonStringAsync

| Improve this Doc View Source

ToJsonStringAsync(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.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest