{"record":{"id":"ac990cc020536fd6","repo":"fish2018/pansou","slug":"listitemsdata-ac990c","errorCode":null,"errorMessage":"listItemsData 数组未闭合","messagePattern":"listItemsData 数组未闭合","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"plugin/zlxapp/zlxapp.go","lineNumber":234,"sourceCode":"\t\t\tif current == '\"' {\n\t\t\t\tinString = false\n\t\t\t}\n\t\t\tcontinue\n\t\t}\n\n\t\tswitch current {\n\t\tcase '\"':\n\t\t\tinString = true\n\t\tcase '[':\n\t\t\tdepth++\n\t\tcase ']':\n\t\t\tdepth--\n\t\t\tif depth == 0 {\n\t\t\t\treturn index, nil\n\t\t\t}\n\t\t}\n\t}\n\treturn 0, fmt.Errorf(\"listItemsData 数组未闭合\")\n}\n\nfunc convertItem(item searchItem) (model.SearchResult, bool) {\n\ttitle := cleanText(item.Title)\n\tif title == \"\" || item.ID <= 0 {\n\t\treturn model.SearchResult{}, false\n\t}\n\n\tlinks := make([]model.Link, 0, max(1, len(item.Links)))\n\tseen := make(map[string]struct{})\n\tif len(item.Links) == 0 && strings.TrimSpace(item.URL) != \"\" {\n\t\titem.Links = []sourceLink{{\n\t\t\tID:          item.ID,\n\t\t\tURL:         item.URL,\n\t\t\tCode:        item.Code,\n\t\t\tIsType:      item.IsType,\n\t\t\tSourceTitle: title,\n\t\t\tStatus:      1,","sourceCodeStart":216,"sourceCodeEnd":252,"githubUrl":"https://github.com/fish2018/pansou/blob/beaa56133755a548ebc51b090b3816e2ae044aa6/plugin/zlxapp/zlxapp.go#L216-L252","documentation":"Scanner guard in zlxapp findJSONArrayEnd: the array that starts at the given index is never closed — depth never returns to zero before end-of-body (it also tracks string context so brackets inside strings don't count). Means the JSON payload is truncated mid-array.","triggerScenarios":"Thrown at plugin/zlxapp/zlxapp.go:234 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Retry the fetch for truncated bodies","Check for response size limits cutting the payload","If the site emits legitimately large arrays, fetch with a higher cap"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"beaa56133755a548ebc51b090b3816e2ae044aa6","analyzedAt":"2026-09-07T00:31:18.025Z","contentChangedAt":"2026-09-07T00:31:18.025Z","schemaVersion":2},"datasetVersion":"2026-09-15T23:17:13.987Z"}