होम
Tom Utilities

JSON समतल और पुनर्स्थापित

JSON टूल

नेस्टेड JSON को डॉट-नोटेशन कुंजियों में बदलें और सपाट डेटा से नेस्टेड ऑब्जेक्ट फिर बनाएँ।

इनपुट

परिणाम

उपयोग कैसे करें

Flatten nested JSON

Paste nested JSON and run Flatten. Arrays become numeric keys, for example user.roles.0.

  1. Paste nested JSON.
  2. Click Flatten.
  3. Copy the flat JSON output.

Unflatten key paths

Paste a flat object and run Unflatten. Numeric path segments are converted back into arrays automatically.

अक्सर पूछे जाने वाले प्रश्न

How are arrays represented?

By default each array element gets a numeric segment, such as items.0.name. Empty arrays and objects are preserved as values.

Can I use a different separator?

The UI uses a dot separator. For custom separators, use the underlying library behavior in your own code.