JSON Infinity Studio
A powerful, browser-based JSON editor with bulk operations, multi-category support, pattern generation, and random/cyclic distribution logic.
1 Overview
JSON Infinity Studio excels at working with complex, deeply nested JSON files. It auto-detects the structure and renders the optimal editor for every node.
Supported JSON Structures
| Schema | Example | Description |
|---|---|---|
| flat_object | {"name":"App","v":"1.0"} | Simple key-value object |
| category_container | {"Love":[β¦],"Birthday":[β¦]} | Object with all array values |
| nested_categories | {"9:16":{"Love":[β¦]}} | Two-level nesting, arrays at leaves |
| array_of_objects | [{"id":1},{"id":2}] | Flat list of objects |
| config_with_data | {"name":"App","items":[β¦]} | Primitives + arrays mixed |
Example: Nested Categories JSON
This is the type of JSON this tool was built for β deeply nested, with arrays of uniform objects:
{
"9:16": {
"Love": [
{ "id": 1, "thumbnail": "love_1.webp", "inapp": "free", "coordinates": "100:200:300:400" },
{ "id": 2, "thumbnail": "love_2.webp", "inapp": "paid", "coordinates": "150:250:350:450" },
{ "id": 3, "thumbnail": "love_3.webp", "inapp": "free", "coordinates": "200:300:400:500" }
],
"Birthday": [
{ "id": 1, "thumbnail": "bday_1.webp", "inapp": "free", "coordinates": "80:160:320:480" }
]
},
"1:1": {
"Abstract": [
{ "id": 1, "thumbnail": "abs_1.webp", "inapp": "paid", "coordinates": "0:0:500:500" }
]
}
}
2 Getting Started
Starting the Application
cd /path/to/appender
python app.py
# β Server at http://0.0.0.0:5000
Creating a New JSON
- Click "+ New" in the sidebar
- Choose a template: Empty Object, Array of Objects, Nested Categories, Config, or Paste JSON
- Name the file β Click Confirm
Loading an Existing JSON
- Click "β Load" in the sidebar
- Select any
.jsonfile - The tree structure appears β click any node to start editing
3 Interface Layout
4 File Operations
| Action | How | Details |
|---|---|---|
| Create New | Sidebar β "New" | Choose template, name file |
| Upload File | Sidebar β "Load" | Select any .json file |
| Save Session | Top bar β Save or Ctrl+S | Saves to saved_json/ dir + refreshes view |
| Download | Top bar β Download | Downloads updated_<name>.json |
7 Editor Views
The editor auto-detects the node type and renders the optimal view.
Object Editor
Shows all key-value pairs with type badges, inline editables, toggle switches for booleans, +/- steppers for numbers, and navigation buttons for nested structures.
// Clicking node "9:16" shows the Object Editor:
// ββββββββββββββββ¬βββββββββββββββββββ¬βββββββββ
// β KEY β VALUE β TYPE β
// ββββββββββββββββΌβββββββββββββββββββΌβββββββββ€
// β Love β β array (3) β array β
// β Birthday β β array (1) β array β
// ββββββββββββββββ΄βββββββββββββββββββ΄βββββββββ
Table Editor (Arrays of Objects)
Spreadsheet-like table with sticky header, double-click editing, checkbox booleans, and URL links.
// Clicking "Love" (an array) shows the Table Editor:
// ββββββ¬ββββββββββββββββ¬βββββββββ¬ββββββββββββββββββββββ
// β id β thumbnail β inapp β coordinates β
// ββββββΌββββββββββββββββΌβββββββββΌββββββββββββββββββββββ€
// β 1 β love_1.webp β free β 100:200:300:400 β
// β 2 β love_2.webp β paid β 150:250:350:450 β
// β 3 β love_3.webp β free β 200:300:400:500 β
// ββββββ΄ββββββββββββββββ΄βββββββββ΄ββββββββββββββββββββββ
| Button | Action |
|---|---|
| Add Col | Add a new column to all items |
| Remove Col | Remove a column from all items |
| Rename Col | Rename a column across all items |
| Bulk Edit | Per-field bulk edit modal |
| Bulk Append | Generate and append new items |
List Editor
For arrays of primitives. Example β a tags array:
// Clicking a node like "tags": ["sunset", "beach", "nature"]
// ββββββ¬ββββββββββ¬βββββββββ
// β # β Value β Type β
// ββββββΌββββββββββΌβββββββββ€
// β 0 β sunset β string β
// β 1 β beach β string β
// β 2 β nature β string β
// ββββββ΄ββββββββββ΄βββββββββ
Primitive Editor
For individual values β type selector + input. Example: clicking "name": "My App" shows a text input with value "My App" and a type dropdown set to "string".
8 Inline Editing
| Action | Gesture | Save/Cancel |
|---|---|---|
| Edit table cell | Double-click any cell | Enter save Β· Esc cancel |
| Rename field key | Double-click key name in Object Editor | Enter save Β· Esc cancel |
| Toggle boolean | Click checkbox/toggle | Saves immediately |
9 Bulk Edit (Per-Field Toggle)
Table Editor toolbar β "Bulk Edit". Edit multiple fields simultaneously, each with its own mode.
- Navigate to an array of objects β Table view appears
- Click "Bulk Edit" β modal opens with toggleable field cards
- Toggle ON the fields to edit (switch turns green β "editing")
- Choose a Mode for each enabled field + configure settings
- Click "Apply Changes"
Available Modes
| Mode | Description | Example |
|---|---|---|
| Set Value | Set all items to the same value | "free" |
| Pattern {i} | Use counter in a pattern | thumb_{i}.webp β thumb_1, thumb_2β¦ |
| Sequence | Sequential numbers | 1, 2, 3, 4β¦ |
| Find & Replace | Text find-and-replace | http: β https: |
| Regex | Regex find-and-replace | (\d+) β item_{i} |
| Increment | Add fixed amount to numbers | +10 to all |
| Prefix/Suffix | Add text before/after | Prefix: new_ |
| Conditional | Set IF condition matches | IF inapp=free THEN premium_{i} |
Full Example: Before β After
Given this array at 9:16/Love, apply Bulk Edit with thumbnail=Pattern and inapp=Set:
[
{ "id": 1, "thumbnail": "old_1.jpg", "inapp": "free" },
{ "id": 2, "thumbnail": "old_2.jpg", "inapp": "free" },
{ "id": 3, "thumbnail": "old_3.jpg", "inapp": "paid" }
][
{ "id": 1, "thumbnail": "https://cdn.com/v2/thumb_1.webp", "inapp": "premium" },
{ "id": 2, "thumbnail": "https://cdn.com/v2/thumb_2.webp", "inapp": "premium" },
{ "id": 3, "thumbnail": "https://cdn.com/v2/thumb_3.webp", "inapp": "premium" }
]Example: Conditional Mode
IF inapp equals "free" THEN set thumbnail to "free_thumb_{i}.webp":
[
{ "id": 1, "thumbnail": "t1.webp", "inapp": "free" },
{ "id": 2, "thumbnail": "t2.webp", "inapp": "paid" },
{ "id": 3, "thumbnail": "t3.webp", "inapp": "free" }
][
{ "id": 1, "thumbnail": "free_thumb_1.webp", "inapp": "free" },
{ "id": 2, "thumbnail": "t2.webp", "inapp": "paid" },
{ "id": 3, "thumbnail": "free_thumb_2.webp", "inapp": "free" }
]10 Bulk Append Panel
Table toolbar β "Bulk Append" or right-click β Bulk Append. Generates and appends new items.
Basic Append
- Navigate to an array (e.g.,
9:16/Love) and click Bulk Append - Existing columns appear with sample patterns
- Set Manual Count (e.g., 20)
- Edit patterns:
thumbnailβhttps://cdn.com/love_{i}.webp - Click Preview β verify generated items
- Click Append 20 items
With Data File
- Prepare a text file with one value per line (e.g., coordinates:
100:200:300:400) - Click Choose File β count auto-adjusts to line count
- Set the coordinates field to
{line}β each item gets one line - Preview β Append
Adding & Removing Columns
Click "+ Add Column" to create new fields. Each row has a β button to remove it.
Multi-Target Append
When your JSON has multiple arrays, a TARGET ARRAYS tree appears with checkboxes.
Full Example: Append with Pattern + Random
Starting array Love has 2 items. Append 3 more with: thumbnail=Pattern love_{i}.webp (start 3), inapp=Random 70% free / 30% paid:
[
{ "id": 1, "thumbnail": "love_1.webp", "inapp": "free" },
{ "id": 2, "thumbnail": "love_2.webp", "inapp": "paid" }
][
{ "id": 1, "thumbnail": "love_1.webp", "inapp": "free" },
{ "id": 2, "thumbnail": "love_2.webp", "inapp": "paid" },
{ "id": 3, "thumbnail": "love_3.webp", "inapp": "free" },
{ "id": 4, "thumbnail": "love_4.webp", "inapp": "free" },
{ "id": 5, "thumbnail": "love_5.webp", "inapp": "paid" }
]Example: Append with Data File
Upload a file with coordinates (one per line), pattern {line} on coordinates field:
100:200:300:400
150:250:350:450
200:300:400:500[
{ "id": 1, "thumbnail": "t_1.webp", "coordinates": "100:200:300:400" },
{ "id": 2, "thumbnail": "t_2.webp", "coordinates": "150:250:350:450" },
{ "id": 3, "thumbnail": "t_3.webp", "coordinates": "200:300:400:500" }
]11 Multi-Category Add Field + Append
Top bar β "Multi-Cat" button. Add fields and apply distributions across multiple arrays simultaneously.
Add a Field to All Arrays
- Click Multi-Cat β modal shows category tree + field list
- Click Select All to target all arrays
- Click Add Field β Name:
premium, Value:false, Dist: Static - Click Apply to Selected Targets
Add Field with Random Distribution
- Add Field β Name:
inapp - Set Dist to Random %
- Primary:
free, %:70, Secondary:paid - Apply β each item gets random "free" or "paid"
Add Field with Cyclic Pattern
- Add Field β Name:
tier, Dist: Cyclic - Pattern:
basic, basic, premium - Apply β items cycle: basic, basic, premium, basic, basic, premiumβ¦
Full Example: Multi-Cat Random on All Arrays
Add inapp with Random 70% free / 30% paid across all arrays in the JSON:
{
"9:16": {
"Love": [{ "id": 1, "thumbnail": "l1.webp" }],
"Birthday": [{ "id": 1, "thumbnail": "b1.webp" }]
},
"1:1": {
"Abstract": [{ "id": 1, "thumbnail": "a1.webp" }]
}
}{
"9:16": {
"Love": [{ "id": 1, "thumbnail": "l1.webp", "inapp": "free" }],
"Birthday": [{ "id": 1, "thumbnail": "b1.webp", "inapp": "paid" }]
},
"1:1": {
"Abstract": [{ "id": 1, "thumbnail": "a1.webp", "inapp": "free" }]
}
}12 Distribution Logic
Available on every field row in Bulk Append and Multi-Cat. Each field independently uses:
| Mode | How It Works | Example Result |
|---|---|---|
| Static | Pattern with {i} replacement | img_1.webp, img_2.webp, img_3.webp⦠|
| Random % | Primary value (N% chance) or Secondary | 70% free / 30% paid randomly |
| Cyclic | Repeats comma-separated values in order | free, free, paid β free, free, paid, free, free, paidβ¦ |
Random % Use Cases
Example: Random % Output (6 items, 70% free)
// Random %: Primary = "free", % = 70, Secondary = "paid"
// Possible output for 6 items:
[
{ "id": 1, "thumbnail": "t_1.webp", "inapp": "free" }, // β 70% chance
{ "id": 2, "thumbnail": "t_2.webp", "inapp": "free" }, // β 70% chance
{ "id": 3, "thumbnail": "t_3.webp", "inapp": "paid" }, // β 30% chance
{ "id": 4, "thumbnail": "t_4.webp", "inapp": "free" }, // β 70% chance
{ "id": 5, "thumbnail": "t_5.webp", "inapp": "paid" }, // β 30% chance
{ "id": 6, "thumbnail": "t_6.webp", "inapp": "free" } // β 70% chance
]
Example: Cyclic Pattern Output
// Cyclic Pattern: "free, free, paid" β repeats endlessly
[
{ "id": 1, "inapp": "free" }, // cycle pos 0
{ "id": 2, "inapp": "free" }, // cycle pos 1
{ "id": 3, "inapp": "paid" }, // cycle pos 2
{ "id": 4, "inapp": "free" }, // cycle pos 0 (restart)
{ "id": 5, "inapp": "free" }, // cycle pos 1
{ "id": 6, "inapp": "paid" } // cycle pos 2
]
Example: Mixed Distribution Across Fields
Append 4 items where id=Static pattern, thumbnail=Static pattern, inapp=Random 70/30, tier=Cyclic:
// id: Static "{i}" | thumbnail: Static "img_{i}.webp"
// inapp: Random 70% free / 30% paid | tier: Cyclic "basic, basic, premium"
[
{ "id": "1", "thumbnail": "img_1.webp", "inapp": "free", "tier": "basic" },
{ "id": "2", "thumbnail": "img_2.webp", "inapp": "free", "tier": "basic" },
{ "id": "3", "thumbnail": "img_3.webp", "inapp": "paid", "tier": "premium" },
{ "id": "4", "thumbnail": "img_4.webp", "inapp": "free", "tier": "basic" }
]
13 Schema Analysis
Right-click β Analyze Schema or the π button. Shows everything about a node's structure:
// Schema analysis of "9:16/Love" array:
// ββββββββββββββββββββββββββββββββββββββββββββββββββ
// β Schema: array_of_objects | 3 items β
// ββββββββββββββββ¬βββββββββββ¬ββββββββββββββββββββββββ€
// β Field β Type β Sample β
// ββββββββββββββββΌβββββββββββΌββββββββββββββββββββββββ€
// β id β number β 1 β
// β thumbnail β string β love_1.webp β
// β inapp β string β free (2), paid (1) β
// β coordinates β string β 100:200:300:400 β
// ββββββββββββββββ΄βββββββββββ΄ββββββββββββββββββββββββ
inapp sample shows "free (2), paid (1)" β confirming the distribution before you modify it.14 Diff / Compare / Revert
| Action | Button | Shows |
|---|---|---|
| Compare | Top bar β "Diff" | Added keys, removed keys, value changes, array size changes, type changes |
| Revert | Top bar β "Revert" | Restores original data (pushes current to undo stack first) |
Example: Diff Output
// After adding 3 items to Love and adding an "inapp" field to Abstract:
//
// CHANGES DETECTED:
// ββββββββββββββββββββββββββββββββββββββββ
// 9:16/Love array size: 3 β 6 (+3 items)
// 9:16/Love/0 value changed: thumbnail "old.jpg" β "love_1.webp"
// 1:1/Abstract/0 field added: "inapp" = "free"
// ββββββββββββββββββββββββββββββββββββββββ
15 Undo / Redo
Every operation is recorded (max 50 steps). Works with ALL operations: edits, deletes, bulk ops, appends, renames, moves.
| Action | Shortcut |
|---|---|
| Undo | Ctrl+Z |
| Redo | Ctrl+Y |
16 Raw JSON Editor
Click the </> code icon in the top bar. Edit the full JSON as formatted text. Click again to parse and apply. Invalid JSON shows an error.
17 Search
Sidebar search bar or Ctrl+F. Searches both keys and values. Results show match type, path, and preview. Click a result to navigate.
18 Keyboard Shortcuts
| Shortcut | Action |
|---|---|
| Ctrl+Z | Undo |
| Ctrl+Y | Redo |
| Ctrl+S | Save session + refresh view |
| Ctrl+F | Focus search input |
19 Pattern Placeholders Reference
| Placeholder | Description | Example | Output (3rd item) |
|---|---|---|---|
{i} | Counter (configurable start) | img_{i}.webp | img_3.webp |
{idx} | Zero-based index | item_{idx} | item_2 |
{total} | Total item count | {idx}/{total} | 2/50 |
{line} | Line from uploaded file | {line} | 100:200:300:400 |
{coord} | Alias for {line} | {coord} | 100:200:300:400 |
{value} | Current field value (Bulk Edit) | v2_{value} | v2_old_val |
{field} | Another field by name | {id}_thumb | 3_thumb |
20 API Endpoints Reference
File Operations
| Method | Endpoint | Description |
|---|---|---|
| POST | /upload | Upload JSON file (multipart) |
| POST | /create_new | Create from template/paste |
| GET | /get_tree | Get sidebar tree |
| GET | /get_data | Get full data + metadata |
| GET | /download | Download current data |
| POST | /save | Save to disk |
Node Operations
| Method | Endpoint | Description |
|---|---|---|
| POST | /node/get | Get node content |
| POST | /node/add | Add child |
| POST | /node/rename | Rename key |
| POST | /node/delete | Delete node |
| POST | /node/duplicate | Clone node |
| POST | /node/edit_value | Edit primitive value |
| POST | /node/edit_item | Edit array item |
| POST | /node/move | Reorder within parent |
Bulk Operations
| Method | Endpoint | Description |
|---|---|---|
| POST | /bulk/add_field | Add field to all items |
| POST | /bulk/remove_field | Remove field from all |
| POST | /bulk/edit_field | Edit field (many modes) |
| POST | /bulk/edit_multi_field | Edit multiple fields at once |
| POST | /bulk/rename_field | Rename field across all |
| POST | /bulk/add_field_multi | Multi-Cat add fields |
| POST | /preview_append | Generate preview items |
| POST | /commit_append | Append items to arrays |
Utilities
| Method | Endpoint | Description |
|---|---|---|
| POST | /schema/analyze | Analyze schema at path |
| POST | /compare_original | Diff current vs original |
| POST | /revert_original | Revert to original |
| POST | /undo | Undo last operation |
| POST | /redo | Redo |
| POST | /search | Search keys + values |
| GET | /raw/get | Get raw JSON string |
| POST | /raw/set | Set from raw JSON |