{
  "id": "go/json-unexpected-end-of-input",
  "signature": "unexpected end of JSON input",
  "signature_zh": "JSON输入意外结束",
  "regex": "unexpected\\ end\\ of\\ JSON\\ input",
  "domain": "go",
  "category": "data_error",
  "subcategory": null,
  "root_cause": "The JSON data being decoded is incomplete or truncated, often due to network issues or premature EOF.",
  "root_cause_type": "generic",
  "root_cause_zh": "正在解码的JSON数据不完整或被截断，通常是由于网络问题或过早的EOF。",
  "versions": [
    {
      "version": "1.19",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "The issue is not missing newline but incomplete JSON structure.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Unmarshal requires complete JSON; partial data will still fail.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.85,
      "how": "dec := json.NewDecoder(strings.NewReader(data))\nif err := dec.Decode(&v); err != nil {\n    // handle error\n}",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.8,
      "how": "Use json.Valid() to check before unmarshaling.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.9,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-03-22",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}