{"pageProps":{"code":{"json_it.js":{"name":"json_it.js","content":"import fs from 'fs';\n\nconst DATA_STRUCTURE = {\n  names: [\n    {\n      first: 'Bob',\n      last: 'Carr',\n    },\n    {\n      first: 'Julia',\n      last: 'Gillard',\n    },\n    {\n      first: 'Ken',\n      last: 'Henry',\n    },\n  ],\n};\n\nconst data = JSON.stringify(DATA_STRUCTURE);\nfs.writeFileSync('export.json', data, { flag: 'w' });\n","path":"code/1531/24T1/3.1/json_it.js","fileext":"js"},"package.json":{"name":"package.json","content":"{\n  \"name\": \"env1\",\n  \"version\": \"1.0.0\",\n  \"type\": \"module\",\n  \"description\": \"\",\n  \"main\": \"index.js\",\n  \"scripts\": {\n    \"test\": \"jest src\"\n  },\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"\"\n  },\n  \"author\": \"\",\n  \"license\": \"ISC\",\n  \"devDependencies\": {\n    \"@babel/preset-env\": \"^7.17.10\",\n    \"jest\": \"^28.0.3\"\n  },\n  \"dependencies\": {\n    \"prompt-sync\": \"^4.2.0\"\n  }\n}\n","path":"code/1531/24T1/3.1/package.json","fileext":"json"},"unjson_it.js":{"name":"unjson_it.js","content":"import fs from 'fs';\n\nconst json = fs.readFileSync('export.json', { flag: 'r' });\nconst data = JSON.parse(json);\nconsole.log(data);\n","path":"code/1531/24T1/3.1/unjson_it.js","fileext":"js"}}},"__N_SSG":true}