JSON Viewer: Kayan Aiki Don Sauƙaƙewa da Duba Sakamakon JSON na API

Kayan kallo na JSON akan layi

Akwai lokuta lokacin da nake aiki tare APIs na Sanarwar Abubuwan JavaScript kuma ina buƙatar warware matsalar yadda nake jujjuya tsarin da aka dawo dashi. Koyaya, mafi yawan lokuta yana da wahala saboda kawai zaren ɗaya ne. Shi ke nan a Mai JSON Mai kallo ya zo da sauki sosai ta yadda za ku iya shigar da bayanan tsari, sanya lambar launi, sannan kuma gungurawa don gano bayanan da kuke buƙata.

Menene JavaScript Object Notation (JSON)?

JSON (JavaScript Object Notation) tsari ne mai sauƙaƙa na musayar bayanai. Abu ne mai sauki ga mutane su iya karatu da rubutu. Abu ne mai sauki injina suyi laushi da samarwa. Ya dogara ne akan wani tsari na JavaScript Programming Language Standard ECMA-262 Bugu na Uku - Disamba 3. JSON sigar rubutu ce wacce take cikakkiyar harshe mai zaman kanta amma tana amfani da tarukan da suka saba da masu shirye-shiryen C-dangin harsuna, gami da C, C ++, C #, Java, JavaScript, Perl, PHP, Python, da sauran su. Waɗannan kaddarorin suna sanya JSON ya zama ingantaccen yare-musayar bayanai.

Source: JSON

Ina ci gaba da amfani da su ta yanar gizo don haka nayi tunanin zan sami lambar kuma in gina ɗaya da kaina. Na sami misali, Buga Bayanan JSON a JSFiddle, babban shafin yanar gizo inda masu haɓaka JavaScript ke raba snippets lambar. Na canza lambar don ɗaukar fom ɗin kuma yana aiki sosai. Kawai manna JSON ɗin ku a cikin fom ɗin kuma danna Sanya. Zai ma gaya muku idan ba zai iya fassarar JSON ba. Ina fatan ya zo a matsayin mai amfani a gare ku kamar yadda yake a gare ni! Na kara shi a nawa Kayayyakin aiki,!



Me kuke tunani?

Wannan shafin yana amfani da Akismet don rage spam. Koyi yadda aka sarrafa bayanan bayaninka.