0

我收到以下请求的错误

@ECHO OFF
"H:\Xidel\Xidel.exe" --input-format json-strict -s "H:\ICA\PRIV.JSON\JSON_FORMATTED\JPB113_SWAGGER.JSON" -e "count($json)" 1>NUL 2>"H:\A_MS_exe\json_format_results.txt"

'json_format_results.txt' 中显示的结果是

Error:
jerr:JNDY0021: error at (tkCurlyBraceClose) in }
Possible backtrace:
$005384C6: perhaps Q{http://jsoniq.org/functions}object + 2054 ? but unlikely
$004360FA: perhaps ? ? but unlikely
$00436176: perhaps ? ? but unlikely
$00437DAF: perhaps ? ? but unlikely
$00435544: perhaps ? ? but unlikely
$00435090: perhaps ? ? but unlikely
$0043F2B0: perhaps ? ? but unlikely

Call xidel with --trace-stack to get an actual backtrace

如果我将请求更改为

@ECHO OFF
"H:\Xidel\Xidel.exe" --trace-stack --input-format json-strict -s "H:\ICA\PRIV.JSON\JSON_FORMATTED\JPB113_SWAGGER.JSON" -e "count($json)" 1>NUL 2>"H:\A_MS_exe\json_format_results.txt"

(正如我想象的那样),我只得到

Error: jerr:JNDY0021: error at  (tkCurlyBraceClose) in }

这比我预期的要少(看到跟踪如何“应该打开”)。我的电话做错了什么?

4

0 回答 0