JSONErrorMessage()

Syntax

Result$ = JSONErrorMessage()
Description
Returns a message describing the cause for the failure at the last JSON parsing operation with ParseJSON(), CatchJSON() or LoadJSON().

Parameters

None.

Return value

The error message in english.

Example

  If ParseJSON(0, "[1, 2, 3 4]")
    ; work with the data
  Else
    Debug JSONErrorMessage()
  EndIf

See Also

JSONErrorLine(), JSONErrorPosition(), ParseJSON(), CatchJSON(), LoadJSON()

Supported OS

All

<- JSONErrorLine() - Json Index - JSONErrorPosition() ->