A je tu ďalší článok zameraný na nahrávanie JSON dát vo frameworku Angular. Tentoraz použijem JavaScript funkciu fetch().
V predchádzajúcom článku som uviedol príklad, ako rýchlo nahrať JSON file. V príklade som demonštroval nahratie dát obsahujúcich jeden objekt. V tomto článku vytváram service, kde nahráva pole objektov.
V tomto článku predstavím niekoľko zaujímavých a bezplatných nástrojov, ktoré vám vygenerujú rôzne typy testovacích dát vo formáte JSON.
Nahrávanie neštruktúrovaných a štruktúrovaných dát patrí medzi operácie, ktoré programátor rieši medzi prvými v rámci architektúry aplikácie. V tomto článku budem demonštrovať rýchly spôsob nahratia súboru s JSON dátami.