JSONErrorMessage()

语法

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

参数

无.

返回值

The error message in english.

示例

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

参阅

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

已支持操作系统

所有

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