How sangharshgautam/jsonspy works
JSONSpy is a multi-platform JSON and schema workbench. Its primary workflow is to open or edit JSON, repair or inspect it in text, grid, or schema views, and then query or generate schema and language types. The graph also preserves its documented IDE integrations and product landing page. Edges are limited to relationships shown in excerpts, source-index references, or README statements; links to unsampled integration behavior are omitted where they cannot be established.
Main entry points: App.tsx Workbench App · JsonSpyToolWindowFactory.kt IntelliJ Tool Window · TextView.tsx Text Editor · SchemaView.tsx Schema Designer
Components 25
JSON Workbench
- Workbench App
src/App.tsx - Document Tabs
src/types/jsonspy.ts - Text Editor
src/components/TextView.tsx - SmartFix Repair
src/utils/smartFix.ts - Tree Grid
src/components/GridView.tsx - Query Workbench
src/components/QueryWorkbench.tsx - Sample Datasets
src/utils/sampleData.ts
Schema And Generation
- Schema Designer
src/components/SchemaView.tsx - Schema Inference
src/utils/schemaInference.ts - Code Generator
src/components/GeneratorModal.tsx - Type Generation
src/utils/typeGenerators.ts
Platform Integrations
- File Operations
src/utils/fileSystem.ts - Platform Adapter
src/utils/platformAdapter.ts - Tauri Desktop APIs
- IntelliJ Tool Window
intellij-plugin/src/main/kotlin/uk/co/sangharsh/jsonspy/plugin/JsonSpyToolWindowFactory.kt - JCEF Component
intellij-plugin/src/main/kotlin/uk/co/sangharsh/jsonspy/plugin/JcefComponentFactory.kt - JCEF Bridge
intellij-plugin/src/main/kotlin/uk/co/sangharsh/jsonspy/plugin/JsonSpyJcefBridge.kt - IDE HTTP Server
intellij-plugin/src/main/kotlin/uk/co/sangharsh/jsonspy/plugin/JsonSpyHttpServer.kt - JVM Schema Validator
intellij-plugin/src/main/kotlin/uk/co/sangharsh/jsonspy/plugin/NetworkNtValidator.kt - VS Code Extension
vscode-extension/src/extension.ts - Custom Editor Provider
vscode-extension/src/JsonSpyEditorProvider.ts
Product Landing
- Product Landing Page
landing/src/App.tsx - Privacy Modal
landing/src/components/PrivacyModal.tsx
Other components
- Workbench User
- Site Visitor
Connections 24
- Workbench User → Workbench App: uses
README.md - Workbench App → Document Tabs: updates
src/App.tsx - Workbench App → Text Editor: renders
src/App.tsx - Workbench App → Tree Grid: renders
src/App.tsx - Workbench App → Schema Designer: renders
src/App.tsx - Workbench App → Query Workbench: renders
src/App.tsx - Workbench App → Code Generator: renders
src/App.tsx - Workbench App → SmartFix Repair: calls
src/App.tsx - Text Editor → SmartFix Repair: calls
src/components/TextView.tsx - Workbench App → File Operations: calls
src/App.tsx - File Operations → Platform Adapter: delegates
src/utils/fileSystem.ts - Platform Adapter → Tauri Desktop APIs: uses
src/utils/platformAdapter.ts - Schema Designer → Schema Inference: uses
src/components/SchemaView.tsx - Code Generator → Type Generation: calls
src/components/GeneratorModal.tsx - Type Generation → Schema Inference: calls
src/utils/typeGenerators.ts - Workbench App → Sample Datasets: loads
src/App.tsx - IntelliJ Tool Window → JCEF Component: creates
intellij-plugin/src/main/kotlin/uk/co/sangharsh/jsonspy/plugin/JsonSpyToolWindowFactory.kt - IntelliJ Tool Window → IDE HTTP Server: starts
intellij-plugin/src/main/kotlin/uk/co/sangharsh/jsonspy/plugin/JsonSpyToolWindowFactory.kt - JCEF Component → JCEF Bridge: registers
intellij-plugin/src/main/kotlin/uk/co/sangharsh/jsonspy/plugin/JcefComponentFactory.kt - JCEF Bridge → JVM Schema Validator: calls
intellij-plugin/src/main/kotlin/uk/co/sangharsh/jsonspy/plugin/JsonSpyJcefBridge.kt - VS Code Extension → Custom Editor Provider: registers
vscode-extension/src/extension.ts - Custom Editor Provider → Workbench App: hosts
- Site Visitor → Product Landing Page: views
README.md - Product Landing Page → Privacy Modal: renders
landing/src/App.tsx