# yamiriko/delphi_json_array architecture

> Architecture diagram of the GitHub repository yamiriko/delphi_json_array, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/yamiriko/delphi_json_array
- Repository: https://github.com/yamiriko/delphi_json_array

## Overview

This is a small Delphi desktop example for fetching JSON arrays from public REST APIs and displaying parsed data. The README documents GET and POST request functions, JSON parsing procedures, and the included uLKJSON parser. No source excerpts were provided, so the graph reflects only those documented relationships; the exact runtime call sequence is unverified.

Main entry points: [`Unit1.pas`](https://github.com/yamiriko/delphi_json_array/blob/master/Unit1.pas) (Desktop app), [`uLkJSON.pas`](https://github.com/yamiriko/delphi_json_array/blob/master/uLkJSON.pas) (uLKJSON)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("User"))
node_app["Desktop app<br/>[Unit1.pas]"]
node_requests["GET / POST<br/>[Unit1.pas]"]
node_parsing["JSON parsing<br/>[Unit1.pas]"]
node_parser["uLKJSON<br/>[uLkJSON.pas]"]
node_w3schools["W3Schools API"]
node_mediasoft["MediaSoft API"]

node_user -->|"uses"| node_app
node_app -->|"provides requests"| node_requests
node_requests -->|"GET / POST"| node_w3schools
node_requests -->|"GET / POST"| node_mediasoft
node_app -->|"parses responses"| node_parsing
node_parsing -->|"uses parser"| node_parser

click node_app "https://github.com/yamiriko/delphi_json_array/blob/master/Unit1.pas"
click node_requests "https://github.com/yamiriko/delphi_json_array/blob/master/Unit1.pas"
click node_parsing "https://github.com/yamiriko/delphi_json_array/blob/master/Unit1.pas"
click node_parser "https://github.com/yamiriko/delphi_json_array/blob/master/uLkJSON.pas"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_user toneBlue
class node_app,node_requests,node_parsing,node_parser toneTeal
class node_w3schools,node_mediasoft toneMint
```

## Components

### Other components

- **User**
- [Desktop app](https://github.com/yamiriko/delphi_json_array/blob/master/Unit1.pas): `Unit1.pas`
- [GET / POST](https://github.com/yamiriko/delphi_json_array/blob/master/Unit1.pas): `Unit1.pas`
- [JSON parsing](https://github.com/yamiriko/delphi_json_array/blob/master/Unit1.pas): `Unit1.pas`
- [uLKJSON](https://github.com/yamiriko/delphi_json_array/blob/master/uLkJSON.pas): `uLkJSON.pas`
- **W3Schools API**
- **MediaSoft API**

## Connections

- User → Desktop app: uses (evidence: `README.md`)
- Desktop app → GET / POST: provides requests (evidence: `README.md`)
- GET / POST → W3Schools API: GET / POST (evidence: `README.md`)
- GET / POST → MediaSoft API: GET / POST (evidence: `README.md`)
- Desktop app → JSON parsing: parses responses (evidence: `README.md`)
- JSON parsing → uLKJSON: uses parser (evidence: `README.md`)
