# AppJsonContext

- File ID: file:wxheam:appjsoncontext-cs
- Path: NexusReader.Application/Common/AppJsonContext.cs
- Role: config
- Layer: application

## Purpose

Defines a System.Text.Json source-generated JsonSerializerContext for Graph DTO types used by the application, enabling ahead-of-time serialization metadata and configuration (WriteIndented = true).

## Key Details

Uses [JsonSourceGenerationOptions(WriteIndented = true)] and [JsonSerializable(...)] attributes to register GraphNodeDto, GraphLinkDto, GraphDataDto and their List<> variants for source-generation; class is a partial JsonSerializerContext with no custom members.

## Symbols

- AppJsonContext: Defines a System.Text.Json source-generated JsonSerializerContext for Graph DTO types used by the application, enabling ahead-of-time serialization metadata and configuration (WriteIndented = true).
- AppJsonContext: A source-generated JsonSerializerContext subclass configured to include serialization metadata for Graph DTO types and to emit indented JSON.

## Dependencies

- No resolved dependencies.

## Calls

- No resolved calls.

## Unresolved References

- dependency-target: System.Text.Json.Serialization
- dependency-target: NexusReader.Application.Queries.Graph

## Coverage

- Symbols: 2
- Executable symbols: 0
- Executable symbols with control flow: 0
- Grounded edges: 2
- Unresolved references: 2
- Control-flow fragments: 0
- Unresolved jumps: 0
- Unsupported constructs: 0
- Control-flow coverage: 100%
- Required diagrams: 1
- Generated diagrams: 1

## Diagrams

### AppJsonContext Neighborhood

```mermaid
flowchart LR
    class_potzj8_appjsoncontext("AppJsonContext")
    file_wxheam_appjsoncontext_cs("AppJsonContext")
    type_1si295l_appjsoncontext[/"AppJsonContext"/]
```

## Diagram Validation

- Status: pass
