+ 1

How to import JSON as object datatype to JS, so I can get the classification, name, and value? Also can it be imported via link?

So i want to take my color template from my json to the js, and finnaly i can pick that color for my web.. But the problem here.. After i search and research, it seems only can be imported frome the same document type(JS) or from the file itself.. :( Thx for the answer.. I really appreciate you guys.. Happy Coding ;>

19th Oct 2020, 9:44 AM
El Roy Situmorang
1 Odpowiedź
+ 2
Use JSON.parse()
19th Oct 2020, 12:25 PM
Hima
Hima - avatar