Skip to content

GetJsonDocument Method ​

Definition ​

  • Namespace: JASE.Database
  • Assembly: JASE.Database.dll

JsonDocument GetJsonDocument(int ordinal) ​

csharp
JsonDocument GetJsonDocument(int ordinal)

Reads the value at the specified ordinal as a JsonDocument.

Parameters ​

NameDescription
ordinalThe zero-based column ordinal.

Returns ​

A parsed JsonDocument for the JSON payload, or default if the column is NULL.

Remarks ​

The returned JsonDocument must be disposed by the caller to release pooled buffers.