Method LineOf
- Namespace
- IntentSharp.Documents
- Assembly
- IntentSharp.dll
LineOf(JsonNode)
The 1-based line where node starts in the source text; null when unknown.
public int? LineOf(JsonNode node)
Parameters
nodeJsonNodeA node of Root's tree.
Returns
- int?
Exceptions
- ArgumentNullException
nodeis null.
LineOf(JsonObject, string)
The 1-based line of the key key in owner; null when unknown.
public int? LineOf(JsonObject owner, string key)
Parameters
ownerJsonObjectAn object of Root's tree.
keystringThe property's key.
Returns
- int?
Exceptions
- ArgumentNullException
ownerorkeyis null.