{
  "version": 1,
  "fileId": "file:1dyqnkg:jsonrepairhelper-cs",
  "fingerprint": "18dn86q",
  "path": "NexusReader.Infrastructure/Helpers/JsonRepairHelper.cs",
  "absolutePath": "c:/Users/micht/source/repos/Nexus.Reader/src/NexusReader.Infrastructure/Helpers/JsonRepairHelper.cs",
  "shortLabel": "JsonRepairHelper",
  "longLabel": "NexusReader.Infrastructure/Helpers/JsonRepairHelper.cs",
  "purpose": "Utility that attempts to repair truncated or malformed JSON strings by pruning trailing garbage and appending necessary closing quotes/brackets/braces.",
  "classification": {
    "role": "unknown",
    "layer": "infrastructure",
    "confidence": 0.72,
    "evidence": [
      "Namespace: NexusReader.Infrastructure.Helpers",
      "Class is a static helper: JsonRepairHelper",
      "Method Repair implements a repair algorithm for JSON strings used at runtime"
    ]
  },
  "className": "JsonRepairHelper",
  "domainConcepts": [
    "JSON",
    "Truncation recovery",
    "Bracket/quote balancing"
  ],
  "patterns": [
    "Utility",
    "Stack-based parser"
  ],
  "keyDetails": "Repairs truncated JSON by pruning trailing garbage and using a stack-based scan that respects quoted strings and escape sequences; returns original input unchanged when it already ends with a closing brace/bracket or is blank.",
  "coverage": {
    "symbolCount": 3,
    "executableSymbolCount": 1,
    "executableSymbolsWithControlFlowCount": 1,
    "groundedEdgeCount": 3,
    "unresolvedReferenceCount": 0,
    "controlFlowFragmentCount": 1,
    "unresolvedJumpCount": 0,
    "unsupportedConstructCount": 0,
    "controlFlowCoverage": 1,
    "requiredDiagramCount": 2,
    "generatedDiagramCount": 3,
    "missingRequiredDiagramCount": 0
  }
}