Interface IJsonLineInfo
Provides an interface to enable a class to return line and position information.
Namespace: Bayat.Json
Assembly: Bayat.Json.Runtime.dll
Syntax
public interface IJsonLineInfo
Properties
| Improve this Doc View SourceLineNumber
Gets the current line number.
Declaration
int LineNumber { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The current line number or 0 if no line information is available (for example, HasLineInfo returns false). |
LinePosition
Gets the current line position.
Declaration
int LinePosition { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The current line position or 0 if no line information is available (for example, HasLineInfo returns false). |
Methods
| Improve this Doc View SourceHasLineInfo()
Gets a value indicating whether the class can return line information.
Declaration
bool HasLineInfo()
Returns
Type | Description |
---|---|
System.Boolean |
|