Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

read json file javascript

fetch("file.json")
    .then(Response => Response.json())
    .then(data => {
        console.log(data);
  		// or whatever you wanna do with the data
    });
 
PREVIOUS NEXT
Tagged: #read #json #file #javascript
ADD COMMENT
Topic
Name
5+5 =