JSON मिनिफ़ाई
JSON layout whitespace हटाते हुए एक exact integer और two spaces वाली string की जाँच करें।
JSON layout whitespace हटाते हुए एक exact integer और two spaces वाली string की जाँच करें।
उपयोग के चरण
- long id और quoted label वाला sample पेस्ट करें।
- टेक्स्ट को minify करें और उसे कहीं और parse किए बिना compact output कॉपी करें।
- integer के digits और quotes के अंदर के characters की input से तुलना करें।
व्यावहारिक उदाहरण
इनपुट
{
"id": 9007199254740993,
"label": "two spaces"
}अपेक्षित परिणाम
{"id":9007199254740993,"label":"two spaces"}परिणाम की जाँच
output में 9007199254740993 और two spaces के अंदर के दो spaces सुरक्षित रहने चाहिए।