Documentation
Table of Contents

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

node JsonNode

A node of Root's tree.

Returns

int?

Exceptions

ArgumentNullException

node is 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

owner JsonObject

An object of Root's tree.

key string

The property's key.

Returns

int?

Exceptions

ArgumentNullException

owner or key is null.