Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8423711
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T03:47:55+00:00 2026-06-10T03:47:55+00:00

I have a file data.json . It has following data [ 101 200, 102

  • 0

I have a file data.json. It has following data

[
"101 200",
"102 201",
"102 202",
"103 202"
]

How can I read this data using javascript? Notice it is not assigned to any variable and the name of the file ended up with .json but the data inside doesn’t look like json data.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T03:47:57+00:00Added an answer on June 10, 2026 at 3:47 am

    Fetch the file using the ajax method (making sure that your server uses the correct Content-Type HTTP header (application/json) for the JSON file).

    When the result gets passed into the success handler, it will be presented as a JavaScript array.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some data and need to create a json file with this structure
I have this json data in data.json file. [ 1009 2000, 1009 2001, 1002
I have the following json file named json.txt with the following data, {id:99903727,nickname:TEST_MLA_OFF,registration_date:2010-12-03T14:19:33.000-04:00,country_id:AR,user_type:normal,logo:null,points:0,site_id:MLA,permalink:http://perfil.mercadolibre.com.ar/TEST_MLA_OFF,seller_reputation:{level_id:null,power_seller_status:null,transactions:{period:12 months,total:25,completed:25,canceled:0,ratings:{positive:0,negative:0,neutral:1}}},status:{site_status:deactive}}
I have a flash file which loads data from JSON and parses it. It
I have a json file of data and the only item for time i
I have a text file that contains cached data in JSON format. I'm trying
If i have a php file that outputs json data with numerical keys, like
I have written java code for generating json of my searched data from file.But
I have a data file that looks like this: xyz123 2.000 -0.3974 0.0 hij123
I have a data file, which I need to read. I know to read

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.