Canjin JSON Zuwa YAML na Kan layi Kyauta

Input data
bfotool loadding
Output data
bfotool loadding

Me zaku iya yi da JSON TO YAML COVERTER?

Wannan kayan aiki zai taimake ka ka canza JSON String/Data zuwa YAML String/Data

Da sauri canza Bayanan Abun JavaScript zuwa Wani Harshen Alama. Shigar da JSON a cikin akwatin shigar da ke hagu kuma nan da nan za ku sami YAML a cikin akwatin fitarwa a hannun dama. Shigar da JSON, sami YAML.

Json zuwa YAML misalai

JSON

[
     {
         "title": "Json To Csv",
         "slug": "json-to-csv",
         "year": "2019"
     },
     {
         "title": "Json To Array",
         "slug": "json-to-array",
         "year": "2019"
     }
 ]

YAML

-
     title: 'Json To Csv'
     slug: json-to-csv
     year: '2019'
 -
     title: 'Json To Array'
     slug: json-to-array
     year: '2019'
 

 

Kayan aiki Maimaita JSON zuwa YAML akan layi

JSON

juzu'in jigon bayanin rubutu na JavaScript

bayanan da aka adana a cikin suna/ƙimar nau'i-nau'i

bayanan da aka raba ta waƙafi

Sunan filin & kirtani an nannade su ta hanyar zance biyu

YAML

yana nufin YAML ba yaren ƙima ba ne kuma babban tsarin JSON ne - Maida YAML zuwa JSON

Fayilolin yml suna farawa da '--', suna alamar farkon takaddar

maɓalli darajar nau'i-nau'i suna rabu da hanji

jerin suna farawa da saƙa