美觀或緊湊的 JSON
縮排以提高可讀性。最小化以供傳輸。兩者均產生有效的JSON。
The legacy system spits XML. The new system speaks JSON. The translation is your problem. Morph maps the structure in your browser tab — attributes via @-prefix, text via #text, repeated elements as arrays, configurable conventions. The XML stays where it was. The JSON saves locally. No upload, no online queue, no API rate limit. Free for everything that runs on your device; AI is paid in credits.
元素、屬性、文字節點、CDATA — 全部透過 fast-xml-parser 快速遍歷。
屬性以@開頭。文字內容鍵為#text。重複的子節點會變成陣列。可配置。
縮排以提高可讀性。最小化以供傳輸。兩者均產生有效的JSON。
拖放多個 XML 檔案。每個檔案會變成獨立的 JSON。免費層級無批量限制。
大多數企業整合最終都會遇到同一個問題:舊系統使用 XML,新系統使用 JSON。線上轉換器需要排隊。命令列工具需要安裝。Morph 透過 WebAssembly 在您的標籤頁中快速運行 fast-xml-parser — 屬性前綴可配置,陣列檢測自動化,文字內容處理明確。相同 flat $4.99 覆蓋 Morph 的其餘功能。
Default convention: prefix with @. So
Auto-detected as arrays.
文字內容以 #text 作為鍵。混合內容在需要時保留為有序陣列。
兩者皆可。預設為美觀(2個空格縮進)。可切換為精簡格式。
是的。拖放 XML 資料夾,獲得 JSON。免費層無批次限制。
是的——轉換是免費的。Morph Pro每月$4.99可解鎖其他功能。