ตัวแปลง YAML เป็น JSON
แปลง YAML เป็น JSON และ JSON เป็น YAML
ทำงานในเบราว์เซอร์ของคุณ ไฟล์ไม่ออกจากอุปกรณ์ ดูวิธีตรวจสอบ
…
วิธีทำ
- 1กรอกช่อง
พิมพ์ตัวเลขของคุณหรือเลือกตัวเลือกที่ต้องการ
- 2ดูผลลัพธ์
คำตอบอัปเดตทันทีเมื่อคุณเปลี่ยนค่า
- 3นำไปใช้
คัดลอกผลลัพธ์หรือจดไว้ ไม่มีอะไรถูกส่งไปที่ใด
About this tool
Choose the direction and paste your data. YAML is turned into formatted JSON, or JSON into clean YAML. If the text is not valid, you are told so. The conversion runs in your browser, so private configuration stays on your device.
When to use it
Convert YAML to JSON and JSON to YAML.
Tips
YAML relies on indentation. Check the result.
Privacy
Everything runs in your browser, so your data is not uploaded or stored.
เคล็ดลับเพื่อผลลัพธ์ที่ดีที่สุด
ตรวจสอบทุกช่องก่อนเชื่อผลลัพธ์ เพราะตัวเลขที่ผิดเพียงตัวเดียวทำให้คำตอบเปลี่ยนไปทั้งหมด ใช้ตัวเลขที่ตรงจากสลิปเงินเดือน ใบแจ้งหนี้ ใบรับรอง หรือสัญญา และจดวันที่ที่คุณคำนวณไว้ อัตรา เกณฑ์ และกฎเปลี่ยนแปลงเป็นครั้งคราว ดังนั้นสำหรับภาษี ค่าธรรมเนียม และเรื่องกฎหมาย ให้ถือผลลัพธ์เป็นค่าประมาณและตรวจสอบกับแหล่งข้อมูลทางการที่ระบุในหน้านี้ คุณลองได้กี่สถานการณ์ก็ได้ ไม่มีอะไรถูกบันทึกหรือส่ง การรีเฟรชหน้าจะล้างช่องกรอก
สรุปสั้น ๆ
- หมวดหมู่: เอกสาร
- ทำงานในเบราว์เซอร์ ไม่ต้องสมัคร ไม่ต้องอัปโหลด
- ข้อมูลที่คุณกรอกอยู่บนอุปกรณ์ของคุณ
- มีหลายภาษา
- ตรวจสอบเนื้อหาล่าสุด:
คำถามที่พบบ่อย
Does it keep comments?
No. JSON has no comments, and converting back and forth drops them.
Can it handle lists and nested data?
Yes. Lists, nested objects, numbers, booleans and null are all converted.
Does it handle comments?
Comments are not kept in JSON.
What about indentation?
Use spaces, not tabs.