Subformer
အခမဲ့ · စာရင်းသွင်းရန် မလို · ဘရောက်ဇာ၌ လည်ပတ်သည်
JSON
YAML

JSON မှ YAML ကွန်ဗာတာ

JSON configuration ဖိုင်များကို လူပိုမို ဖတ်ရှုရလွယ်သော YAML ဖော်မာတွင် ပြောင်းပါ — Kubernetes, GitHub Actions, Docker Compose များက ကြိုက်နှစ်သက်ကြသည်။

ဘာကြောင့် JSON ကို YAML သို့ ပြောင်းလဲသနည်း?

JSON သည် စက်များအတွက် ထူးချွန်သော်လည်း လူအတွက်တော့ အသံအတင်းများရှိသည် — quotes နှင့် braces ကဲ့သို့သော အမှတ်အသားများကြောင့် တာဝန်ယူပြုပြင်ရမည့် config ဖိုင်များတွင် မြင်ကွင်းပိတ်ဆို့မှုများ ဖြစ်စေနိုင်ပါသည်။ YAML သည် punctuation ကိုဖယ်ရှားကာ indentation ကို အသုံးပြု၍ Kubernetes, GitHub Actions, Docker Compose နှင့် များသော ခေတ်မီ DevOps ကိရိယာများအတွက် မူလပုံစံ config ဖိုင်အဖြစ် အသုံးပြုသည်။ JSON ကို YAML သို့ ပြောင်းခြင်းဖြင့် ဂျေမီရှိ legacy config များကို လူရည်ရွယ်၍ ပြင်ဆင်နိုင်ရန် သန့်ရှင်းစေသည်။

We parse your JSON, then serialize it with the yaml library at default indent. Comments aren't preserved - JSON has no concept of them. Strings that look like YAML keywords (yes/no, on/off) are quoted to avoid ambiguity. Everything runs in your browser; no data is uploaded.

JSON

JSON အကြောင်း

JSON (JavaScript Object Notation) သည် ဝဘ်ပေါ်ရှိ ဖွဲ့စည်းထားသော ဒေတာများအတွက် ပေါင်းသင်းအသုံးများသော ဘာသာဖြစ်သည်။ Array များ၊ object များ၊ string များ၊ number များ၊ boolean များ။ ခေတ်မီ programming language များအားလုံးက ဖတ်နိုင်သည်။

YAML

YAML အကြောင်း

YAML is a human-friendly data serialization format - indentation-based, less noisy than JSON, ideal for config files. Used by Kubernetes, CI pipelines, and most modern DevOps tooling.

JSON ကို YAML သို့ မည်သို့ ပြောင်းရမည်

  1. 01

    သင့် JSON ဖိုင်ကို ထည့်ပါ

    အထက်ပါ converter ပေါ်သို့ JSON ကို ဆွဲထည့်ပါ၊ သို့မဟုတ် သင်၏ စက်မှ တစ်ခုရွေးရန် ဘောက်စ်ကို နှိပ်ပါ။

  2. 02

    YAML ကို ရွေးပြီးသားဖြစ်သည်

    ကျွန်တော်တို့က ထွက်မည့်ဖိုင်ဖော်မက်အနေနဲ့ YAML ကို ကြိုတင်ရွေးထားပါတယ်။ မတူတဲ့ ပစ်မှတ်ကို လိုချင်ရင် dropdown မှာ ပြောင်းလဲပါ။

  3. 03

    ပြောင်းလဲပြီး ဒေါင်းလုပ်ဆွဲပါ

    Convert ကို နှိပ်ပြီး progress bar ပြီးဆုံးဖို့ စောင့်ပါ။ YAML ပြီးမြောက်သည့်အချိန်တွင် ဒေါင်းလုတ်လုပ်ပါ။

JSON မှ YAML မေးခွန်းများ

အားလုံးသော ဖော်မတ်များကို ကြည့်ရန် →