Ana sayfa
Tom Utilities

JSON düzleştirme ve geri yükleme

JSON araçları

İç içe JSON'u nokta gösterimli anahtarlara dönüştürün ve düz veriden iç içe nesneleri yeniden oluşturun.

Girdi

Sonuç

Nasıl kullanılır

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.

Sık sorulan sorular

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.