فك الترميز باستخدام URL → تنسيق JSON بشكل جميل

تنفذ هذا التسلسل الثابت: فك الترميز باستخدام URL → تنسيق JSON بشكل جميل. أدخل البيانات مرة واحدة ثم انسخ النتيجة أو نزّلها.

المدخلات: نصالنتيجة: نص

إدخال نصي

شغّل الأداة لعرض النتيجة

أمثلة

A support ticket with a zero-prefixed identifier

المدخلات

%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

المدخلات

%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

المدخلات

%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

المدخلات

%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

المدخلات

%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

المدخلات

%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

المدخلات

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

Expected answer

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

كيف تُنتج النتيجة

  1. فك الترميز باستخدام URL
  2. تنسيق JSON بشكل جميل

القواعد والحدود

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.

أدوات ذات صلة

تنسيق الشفرة