Vula amafayela we-JSON

Pin
Send
Share
Send


Abantu abajwayele ukufakwa kwezinhlelo bazowabona ngokushesha amafayela ngesandiso se-JSON. Le fomethi isifushaniso samagama we-JavaScript Object Notation, futhi empeleni inguqulo yombhalo yokushintshaniswa kwedatha esetshenziswe kulimi lokuhlela lweJavaScript. Ngokufanelekile, ukubhekana nokuvulwa kwamafayela anjalo kuzosiza noma kungaba yiziphi isoftware noma abahleli bemibhalo.

Vula amafayili we-JSON script

Isici esiyinhloko semibhalo ngefomethi ye-JSON ukuguquguquka kwayo nefomethi ye-XML. Zombili lezi zinhlobo zingumbhalo ongavulwa ngabasebenza ngamagama. Noma kunjalo, sizoqala ngesoftware ekhethekile.

Indlela yoku-1: I-Altova XMLSpy

Indawo yentuthuko eyaziwayo kahle, nayo esetshenziswa ngabaphathi bezinhlelo zewebhu. Le ndawo futhi ikhiqiza amafayela we-JSON, ngakho-ke iyakwazi ukuvula amadokhumenti wesithathu ngalesi sandiso.

Landa i-Altova XMLSpy

  1. Vula uhlelo bese ukhetha "Ifayela"-"Vula ...".
  2. Esikhathini esibonakalayo sokulayishwa kwefayela, iya kufolda lapho ifayela ofuna ukuvula likhona. Khetha ngokuchofoza okukodwa bese uqhafaza "Vula".
  3. Okuqukethwe kwedokhumenti kuzovezwa enkabeni yohlelo, ewindini elihlukile lomhleli wokubuka.

Kunezithiyo ezimbili kule software. Esokuqala yisisekelo sokusabalalisa esikhokhelwayo. Uhlobo lwesilingo lusebenza izinsuku ezingama-30, kodwa-ke, ukuze uluthole, kufanele ucacise igama nebhokisi leposi. Elesibili yi-cumbersomeness ejwayelekile: kumuntu odinga nje ukuvula ifayili, kungahle kubonakale kuyinkimbinkimbi ngokweqile.

Indlela 2: Incwajana ++

I-Notepad ++ yomhleli wemisebenzi eminingi isebenzayo kuqala kuhlu lwemibhalo efanele ukuvulwa ngefomethi yeJSON.

Bheka futhi: Izichasiselo ezinhle kakhulu zomhleli wombhalo i-Notepad ++

  1. Vula i-Notepad ++, khetha kumenyu ephezulu Ifayela-"Vula ...".
  2. Kuvuliwe "Isihloli" Qhubekela kusikhombisi lapho iskripthi ofuna ukusibheka sitholakala. Bese ukhetha ifayela bese uchofoza inkinobho "Vula".
  3. Idokhumenti izovulwa njengethebhu ehlukile ewindini lohlelo oluphambili.

    Ngezansi ungabona ngokushesha izakhiwo eziyisisekelo zefayela - inani lemigqa, ukufaka amakhodi, kanye nokushintsha imodi yokuhlela.

I-Notepad ++ inamapula amaningi - lapha ikhombisa isixaka sezilimi eziningi ezifakwayo, futhi isekela ama-plugins, futhi sincane ngosayizi ... Noma kunjalo, ngenxa yezici ezithile, uhlelo lusebenza kancane, ikakhulukazi uma uvula umqulu we-voluminous kuwo.

Indlela 3: I-AkelPad

Kulula ngokumangazayo futhi ngasikhathi sinye okucebile kumhleli wombhalo kusuka kunjiniyela waseRussia. Amafomethi awasekelayo afaka i-JSON.

Landa i-AkelPad

  1. Vula uhlelo lokusebenza. Kumenyu Ifayela chofoza entweni "Vula ...".
  2. Kwimenenja yefayela eyakhelwe-ngaphakathi, fika enkombeni enefayela leskripthi. Qokomisa bese uvula ngokuchofoza inkinobho efanele.

    Uyacelwa uqaphele ukuthi uma ukhetha idokhumenti, ukubuka okusheshayo kokuqukethwe kuyatholakala.
  3. Isikripthi seJSON sokukhetha kwakho sizovulwa kuhlelo lokusebenza lokubukwa nokuhlelwa.

Njenge-Notepad ++, le nketho incwajana nayo imahhala futhi isekela ama-plugins. Isebenza ngokushesha, kepha amafayela amakhulu futhi ayinkimbinkimbi kungenzeka angavuli okokuqala, ngakho-ke gcina lokhu engqondweni.

Indlela 4: Komodo Hlela

Isoftware yamahhala yekhodi yokubhala evela kuKomodo. Ifaka isikhombimsebenzisi sesimanjemanje kanye nokusekelwa okubanzi kwemisebenzi yabenzi bohlelo.

Landa i-Komodo Hlela

  1. Vula uKomodo Edith. Kuthebhu yomsebenzi, thola inkinobho "Vula ifayela" bese uyichofoza.
  2. Thatha ithuba "Umhlahlandlela"ukuthola indawo yefayela lakho. Uma usukwenzile lokhu, khetha idokhumenti, uphinde uchofoze kuyo ngegundane, bese usebenzisa inkinobho "Vula".
  3. Kuthebhu yomsebenzi weKomodo Hlela, kuzovulwa umqulu okhethwe ngaphambilini.

    Ukubuka, hlela, kanye nokuhlola i-syntax kuyatholakala.

Ngeshwa, alukho ulimi lwesiRussia kulolu hlelo. Kodwa-ke, umsebenzisi ojwayelekile kungenzeka asatshiswe ukusebenza ngokweqile kanye nezinto ezingaqondakali zesikhombimsebenzisi - ngemuva kwakho konke, lo mhleli uhloselwe ikakhulu abethuli bezinhlelo.

Indlela yesi-5: Umbhalo wesikhashana

Omunye ummeleli wabahleli bemibhalo osuselwa kunikhodi. Isimo esibonakalayo silula ukwedlula esisebenza nabo, kepha amathuba afanayo. Uhlobo olutholakalayo luyatholakala.

Landa umbhalo wesikhashana

  1. Hola Umbhalo wesikhashana. Lapho uhlelo luvulekile, landela izinyathelo "Ifayela"-"Vula ifayela".
  2. Ewindini "Isihloli" qhubeka ngokuya nge-algorithm eyaziwayo: thola ifolda nedokhumenti yakho, uyikhethe bese usebenzisa inkinobho "Vula".
  3. Okuqukethwe kwedokhumenti kuyatholakala ukuze kubukwe futhi kuguqulwe ewindini eliphambili lohlelo.

    Kwezici, kufanelekile ukuphawula ukubuka okusheshayo kwesakhiwo, okubekwe kumenyu eseceleni ngakwesokudla.

Ngeshwa, i-Sublime Umbhalo awutholakali ngesiRashiya. Okubi yisibonelo sokuhanjiswa kwe-shareware: le nguqulo yamahhala ayikhawulwanga yilutho, kepha kwesinye isikhathi kuvela isikhumbuzi ngesidingo sokuthenga ilayisense.

Indlela 6: NFOPad

Incwajana elula, noma kunjalo, futhi ilungele ukubuka amadokhumenti ngesandiso se-JSON.

Landa i-NFOPad

  1. Qala incwajana, sebenzisa imenyu Ifayela-"Vula".
  2. Ekubonakaleni "Isihloli" Qhubekela kufolda lapho kuzogcinwa khona iskripthi seJSON. Uyacelwa ukuthi uqaphele ukuthi ngokuzenzakalelayo i-NFOPad ayiwaboni amadokhumenti ngalesi sandiso. Ukubenza babonakale ohlelweni, kumenyu eyehlayo Uhlobo lwefayela setha into "Wonke amafayela (*. *)".

    Lapho idokhumenti oyifunayo ikhonjisiwe, khetha bese ucindezela inkinobho "Vula".
  3. Ifayela lizovulwa ewindini eliyinhloko, litholakalele ukubukwa nokuhlela.

I-NFOPad ilungele ukubuka amadokhumenti e-JSON, kepha kukhona okukhona - uma uvula amanye awo, uhlelo luqina kakhulu. Ukuthi lesi sici sihlotshaniswa kanjani akwaziwa, kepha qaphela.

Indlela 7: Incwajana

Futhi ekugcineni, iprosesa elijwayelekile lamagama elakhelwe kuWindows liyakwazi ukuvula amafayela ngesandiso seJSON.

  1. Vula uhlelo (khumbula - Qala-"Zonke izinhlelo"-"Okujwayelekile") Khetha Ifayelake "Vula".
  2. Kuzovela iwindi "Isihloli". Kuyo, iya kufolda enefayela olifunayo, bese usetha ukubonisa kwawo wonke amafayela ohlwini oluhambisanayo olwehliswayo.

    Lapho ifayili selibonwa, likhethe bese livula.
  3. Idokhumenti izovulwa.

    Isixazululo se-Microsoft sasemuva naso asiphelele - awawona wonke amafayela akule fomethi angavulwa ku-Notepad.

Ekuphetheni, sithi okulandelayo: amafayela anwetshwe i-JSON angumbhalo ojwayelekile ongakwazi ukucubungula hhayi nje kuphela izinhlelo ezichazwe ku-athikili, kepha futhi nesixuku sabanye, kufaka iMicrosoft Word kanye ne-LibreOffice ne-OpenOffice yayo yamahhala. Kungenzeka kakhulu ukuthi izinsizakalo eziku-inthanethi zizokwazi ukuphatha amafayela anjalo.

Pin
Send
Share
Send