Optional
path: stringOptional
line: numberOptional
errorPortion: stringOptional
Readonly
causeOptional
Readonly
errorOptional
Readonly
lineReadonly
nameOptional
Readonly
pathStatic
createThe SyntaxError
to convert to a JsonParseError
.
The data input that caused the error.
Optional
jsonPath: stringThe path from which the data was read, if known.
Creates a
JsonParseError
from aSyntaxError
thrown during JSON parsing.