---
title: "Discussion on \"How To Use A Local Json File In Your Javascript Projects.\" | Hashnode"
description: "Discussion on \"How To Use A Local Json File In Your Javascript Projects.\". Often times, If given the option of using a local JSON file or hardcode my data, I do opt to hardcoding. \nHonestly the only reason I avoided it was because I was afraid to, never used it before. Until there was a task I had no option than to use the ..."
url: "https://hashnode.com/posts/how-to-use-a-local-json-file-in-your-javascript-projects/61d5bdee9d96c307e0a29025"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How To Use A Local Json File In Your Javascript Projects.](https://toriola.hashnode.dev/how-to-use-a-local-json-file-in-your-javascript-projects?utm_source=hashnode&utm_medium=feed)

Often times, If given the option of using a local JSON file or hardcode my data, I do opt to hardcoding. Honestly the only reason I avoided it was because I was afraid to, never used it before. Until there was a task I had no option than to use the ...

Jan 5, 2022 · 2 min read · toriola.hashnode.dev  
Read the article

-   [#json](https://hashnode.com/tag/json)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#fetch](https://hashnode.com/tag/fetch)
-   [#apis](https://hashnode.com/tag/apis)
-   [#array](https://hashnode.com/tag/array)

## Written by

[Toriola Faidat Olabisi](https://hashnode.com/@Toriola)

@Toriola · Lagos, Nigeria

  
[View profile](https://hashnode.com/@Toriola)

A frontend developer

I am a self-motivated and passionate frontend developer who loves problem solving, working within a team and bouncing ideas off each other to find a solution. Like many others, I enjoy spending my free time in increasing my knowledge on web development, building new and challenging projects

## Responses 1

Markdown supported · ⌘↵ to post

[Maneesh Kumar](https://hashnode.com/@kontactmaneesh)

[Jan 6, 2022](https://hashnode.com/posts/how-to-use-a-local-json-file-in-your-javascript-projects/61d5bdee9d96c307e0a29025/comment/61d6701b88735812b7f38b83)

Nice Information. Thanks a ton.
