المنسقات والكود
منسق JSON5
منسق JSON5 مجاني. يقبل JSON بالتعليقات، والفواصل الزائدة، وغيرها من البنى المرنة، ثم يُخرج JSON صارمًا. مفيد لملفات التكوين التي انحرفت عن المواصفات.
ملاحظة المحرر
Understanding · JSON for humans.
هذا الفصل المعمّق متاح حاليًا باللغة الإنجليزية فقط. أداة التحويل أعلاه تعمل بلغتك؛ أما المقال التفصيلي الطويل فلم تتم ترجمته بعد.
الأسئلة المتكررة
Quick answers.
›What is JSON5?
A superset of JSON that allows comments, trailing commas, unquoted keys and a few other conveniences. It's the format of many config files (tsconfig, devcontainer, babel) and drift-prone hand-edited JSON.
›Does it handle single-quoted strings?
This tool handles the most common JSON5 drift — `// comments`, `/* block comments */` and trailing commas. For the full JSON5 spec (unquoted keys, single quotes, hex numbers) paste into a proper JSON5 parser locally.
›What does the output look like?
Strict, spec-compliant JSON — 2-space indented. Safe to feed to any JSON.parse or schema validator.
›Is it free?
Yes — fully free, in-browser, no signup.
يبحث الأشخاص أيضًا عن
أدوات ذات صلة
More in this room.
- منسق ومدقق JSONتجميل وتصغير وتدقيق JSON — مجاني، بدون تسجيل.
- منسق SQLجمّل ونسّق استعلامات SQL القبيحة.
- منسق ومدقق XMLتجميل وتصغير وتدقيق XML — فوراً.
- منسق HTMLتجميل وتصغير HTML — إعدادات Prettier الافتراضية.
- منسق CSSتجميل وتصغير أوراق أنماط CSS.
- منسق JavaScript / TypeScriptJS و TS المنسقة بواسطة Prettier، في المتصفح.