Decodifica con URL → Abbellisci JSON

Esegue questa sequenza fissa: Decodifica con URL → Abbellisci JSON. Inserisci i dati una volta, poi copia o scarica il risultato.

Input: TestoRisultato: Testo

Inserimento di testo

Esegui per vedere il risultato

Esempi

A support ticket with a zero-prefixed identifier

Input

%7B%22ticket%22%3A%2200123%22%2C%22priority%22%3A%22high%22%7D

Expected answer

JSON
{
    "ticket": "00123",
    "priority": "high"
}
An observatory reading with a negative temperature

Input

%7B%22station%22%3A%22demo-observatory%22%2C%22temperatureC%22%3A-12.5%2C%22open%22%3Afalse%7D

Expected answer

JSON
{
    "station": "demo-observatory",
    "temperatureC": -12.5,
    "open": false
}
A café menu with Unicode and a decimal price

Input

%7B%22item%22%3A%22caf%C3%A9%22%2C%22price%22%3A3.5%2C%22currency%22%3A%22EUR%22%7D

Expected answer

JSON
{
    "item": "café",
    "price": 3.5,
    "currency": "EUR"
}
A safe webhook retry policy

Input

%7B%22timeoutMs%22%3A5000%2C%22retries%22%3A2%2C%22enabled%22%3Atrue%7D

Expected answer

JSON
{
    "timeoutMs": 5000,
    "retries": 2,
    "enabled": true
}
An image manifest with a null caption

Input

%7B%22width%22%3A640%2C%22height%22%3A480%2C%22caption%22%3Anull%7D

Expected answer

JSON
{
    "width": 640,
    "height": 480,
    "caption": null
}
A release note with an embedded newline

Input

%7B%22version%22%3A%222.1.0%22%2C%22notes%22%3A%22Fixed%20parser%5CnAdded%20tests%22%7D

Expected answer

JSON
{
    "version": "2.1.0",
    "notes": "Fixed parser\nAdded tests"
}
An empty search result

Input

%7B%22results%22%3A%5B%5D%2C%22total%22%3A0%7D

Expected answer

JSON
{
    "results": [],
    "total": 0
}

Come viene prodotto il risultato

  1. Decodifica con URL
  2. Abbellisci JSON

Convenzioni e limiti

Some systems encode values more than once. Apply only the required number of decoding steps, and check whether plus signs represent spaces for your source.

Strumenti correlati

Riordino del codice