Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

interface Newtonsoft.​Json.​IJsonLineInfo

Assembly: Newtonsoft.Json

Provides an interface to enable a class to return line and position information.

Properties

int
LineNumber
Gets the current line number.
int
LinePosition
Gets the current line position.

Methods

bool
HasLineInfo​()
Gets a value indicating whether the class can return line information.
Returns <c>true</c> if <see cref="P:Newtonsoft.Json.IJsonLineInfo.LineNumber" /> and <see cref="P:Newtonsoft.Json.IJsonLineInfo.LinePosition" /> can be provided; otherwise, <c>false</c> .