Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

import json file in the same directory as javascript

var json = require('./data.json'); //with path
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #import #json #file #directory #javascript
ADD COMMENT
Topic
Name
3+7 =