# Studio: Importing JSON data to .ts file

**URL:** <https://forum.8thwall.com/t/studio-importing-json-data-to-ts-file/3280>\
**Category:** Technical Support\
**Created:** [October 23, 2024, 10:13pm UTC](https://forum.8thwall.com/t/studio-importing-json-data-to-ts-file/3280 "2024-10-23T22:13:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dylan\_Beck](https://avatars.discourse-cdn.com/v4/letter/d/8e8cbc/32.png) [@Dylan\_Beck](https://forum.8thwall.com/u/Dylan_Beck)\
**Post date:** [October 23, 2024, 10:13pm UTC](https://forum.8thwall.com/t/studio-importing-json-data-to-ts-file/3280/1 "2024-10-23T22:13:54Z")

</div>

Hello 👋

I have a JSON file `LevelData.json` in my file system that I want to pull into my manager class - how would I go about that? I tried importing the data using `import * as levelData from ./LevelData.json` but get an error: `Cannot find module './LevelData.json. Consider using '--resolveJsonModule' to import module with '.json' extension.` From what I can tell, that needs to be added to a `tsconfig.json` file which I can’t find.

I’m guessing I’m going about it the wrong way? Still a bit of a TypeScript noob, bear with me 😅 any help would be very much appreciated!

---

<div class="post-metadata">

**Author:** ![GeorgeButler](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/georgebutler/32/1903_2.png) [@GeorgeButler](https://forum.8thwall.com/u/GeorgeButler)\
**Post date:** [October 24, 2024, 5:06pm UTC](https://forum.8thwall.com/t/studio-importing-json-data-to-ts-file/3280/2 "2024-10-24T17:06:54Z")

</div>

Hi!

You’re actually going about it the right way! Give yourself more credit! 😃 We haven’t enabled the `resolveJsonModule` yet, which means you’ll have to manually copy and paste your JSON data into your .ts or .js files directly to use the data.
