flowchart TD
A[ShowForm called] --> B[User selects JSON file via FileDialog]
B --> C[Load JSON into stdJSON object]
C --> D[Wrap JSON root in Dictionary<br/>with metadata: key, value, isJSON, parent]
D --> E[Create tvTree with Root Node<br/>using stdCallback for ID, Name, Children]
E --> F[Populate TreeView with Root Node]
F --> G[User Expands Node]
G --> H[Loop over Children via stdJSON.ChildrenInfo]
H --> I[Add Child Nodes to TreeView]
I --> G
F --> J[User Selects Node]
J --> K[Set SelectedEntry = JSON Node]
K --> L[Display Node Info in TreeView]
L --> M[User Can Refresh or Close Viewer]