Isibukeli se-JSON: Ithuluzi lamahhala lokuhlaziya nokubuka ukuphuma kwe-JSON ye-API yakho

Ithuluzi Lokubuka i-JSON eku-inthanethi

Kunezikhathi lapho ngisebenza khona I-JavaScript Object Notation APIs futhi ngidinga ukuxazulula inkinga ukuthi ngicubungula kanjani uhlu olubuyisiwe. Kodwa-ke, isikhathi esiningi kunzima ngoba kuyintambo eyodwa nje. Yilapho i-a UJSON Viewer iza ilusizo kakhulu ukuze ukwazi ukuhlehlisa imininingwane yokulandelana, ukuyifaka umbala, bese upheqa ukuthola ulwazi oludingayo.

Yini iJavaScript Object Notation (JSON)?

I-JSON (IJavaScript Object Notation) yifomethi engasindi yokushintshaniswa kwedatha. Kulula ngabantu ukufunda nokubhala. Kulula ukuthi imishini ihlolisise futhi ikhiqize. Kususelwa kusethi engezansi yeJavaScript Programming Language Standard ECMA-262 3rd Edition - Disemba 1999. I-JSON yifomethi yombhalo ezimele ngokuphelele olimini kepha isebenzisa izingqungquthela ezijwayele abahleli bomndeni wezilimi ze-C, kufaka phakathi i-C, C ++, C #, Java, JavaScript, Perl, PHP, Python, nabanye abaningi. Lezi zakhiwo zenza i-JSON ibe ulimi olufanele lokushintshana kwedatha.

Source: I-JSON

Ngihlala ngiwasebenzisa online ngakho bengicabanga ukuthi ngizothola ikhodi bese ngizakhela yona. Ngithole isibonelo, Idatha eyi-Pretty Phrinta i-JSON ku-JSFiddle, indawo enhle eku-inthanethi lapho onjiniyela beJavaScript babelana ngamazwibela ekhodi. Ngiguqule ikhodi ukuze ngifake okokufaka kwefomu futhi isebenza kahle. Mane unamathisele i-JSON yakho ngendlela bese uqhafaza Beautify. Izokutshela futhi uma ingakwazi ukwehlukanisa iJSON. Ngiyethemba ingena ilunge kuwe njengoba ingena nakimi! Ngikungezile ku Amathuluzi!



UCABANGANI?

Le sayithi isebenzisa i-Akismet ukunciphisa ugaxekile. Funda ukuthi idatha yakho yokuphawula isetshenziswa kanjani.