YAML zuwa Json mai juyawa mafi sauƙi
Wannan kayan aikin kan layi kyauta yana ba ku damar canza fayil ɗin YAML zuwa fayil ɗin Json. Kawai liƙa YAML ɗinku a cikin fom ɗin da ke ƙasa kuma nan take za ta canza zuwa Json. Babu buƙatar saukewa ko shigar da kowace software. Kyauta
YAML zuwa Json misalai
YAML
-
name: abc
age: 20
sex: man
-
name: bbb
age: 30
sex: man
-
name: cccc
age: 40
sex: man
JSON
[
{
"name": "abc",
"age": 20,
"sex": "man"
},
{
"name": "bbb",
"age": 30,
"sex": "man"
},
{
"name": "cccc",
"age": 40,
"sex": "man"
}
]
Kayan aiki menene YAML zuwa Json Converter?
Wannan YAML zuwa Json mai musanya yana canza bayanan YAML da fayiloli zuwa bayanan Json da fayiloli. Wannan mai jujjuya yana ba da damar tsara shigarwar YAML da fitarwa Json. Hakanan yana karɓar fayilolin YAML tare da haruffan ginshiƙi na al'ada da haruffan faɗin filin. Yana goyan bayan layukan sharhi kuma kuna iya yin watsi da layukan da ba komai ba na tilas. Hakanan zaka iya canza wurare nawa don amfani da su a cikin fitarwar Json.
Tukar YAML ke Json
Mataki 1: Zaɓi shigarwar ku. Shigar da Bayanai.
Mataki 2: Zaɓi zaɓin fitarwa (na zaɓi) Zaɓuɓɓukan fitarwa.
Mataki 3: Samar da fitarwa.