JSON
JSON ↔ YAML / CSV / XML / TOML
แปลง JSON เป็น YAML, CSV, XML หรือ TOML และย้อนกลับ — ทั้งหมดในเบราว์เซอร์ ไม่ต้องใช้ไลบรารี
ข้อตกลง: แอตทริบิวต์คือคีย์ที่มี "@" (@id → แอตทริบิวต์ id), ข้อความของอิลิเมนต์แบบผสมคือคีย์ "#text", ลูกที่ซ้ำกันจะกลายเป็นอาร์เรย์
คำถามที่พบบ่อย
Why does converting to CSV sometimes lose structure?
CSV is inherently a flat, tabular format, so nested objects or arrays cannot be represented directly — they need to be flattened into simple "key: value" pairs first.
How does the tool decide what becomes an XML attribute versus an element?
By convention: keys prefixed with "@" become attributes (for example, @id becomes the id attribute), and the "#text" key is used for mixed-content text. This is this tool's own convention, not a universal XML standard.
Is data sent to a server during conversion?
No, converting to and from YAML, CSV, XML, and TOML happens entirely in your browser via JavaScript, with no external libraries and no server.