Return the current line number, in the JSON document being parsed, where the JSON parser is currently pointing to.
The line count, starts at 1 and is incremented after each line feed.
This information is especially useful when passed to an application in the p6IJSONErrorHandler. The combination of the line and column number offset will point to a parsing problem.
- Parameters
-
pNumber | [ out ] starts at 1, line offset in the JSON document. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | pObject is NULL. |