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 8774399
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T18:33:31+00:00 2026-06-13T18:33:31+00:00

I am retrieving a JSON file that returns its results like what you see

  • 0

I am retrieving a JSON file that returns its results like what you see below. The JSON has 365 days worth of data. I would like to create “views” of this JSON using javascript, one which pulls the last 10 days, then 1 month, 6 months, etc.

After the getJSON function I am doing this to get a string as JSON, then turn it into an object and will then graph it. So I would like each “view” to be an object for the specified timeframe (using the one JSON). The obj_10days, obj_1month, etc variables would then be plotted.

var $ graph = data ;
var obj = $ . parseJSON ( $ graph ) ;

JSON:

[

    {
        "Low": 8.63,
        "Volume": 14211900,
        "Date": "2012-10-26",
        "High": 8.79,
        "Close": 8.65,
        "Adj Close": 8.65,
        "Open": 8.7
    },
    {
        "Low": 8.65,
        "Volume": 12167500,
        "Date": "2012-10-25",
        "High": 8.81,
        "Close": 8.73,
        "Adj Close": 8.73,
        "Open": 8.76
    },
    {
        "Low": 8.68,
        "Volume": 20239700,
        "Date": "2012-10-24",
        "High": 8.92,
        "Close": 8.7,
        "Adj Close": 8.7,
        "Open": 8.85
    },

Any help is appreciated, thank you!

  • 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-13T18:33:32+00:00Added an answer on June 13, 2026 at 6:33 pm

    use a for loop / .each …
    you have an array of json objects ,
    you should call for it like an array…

    like:
    obj[0].Low

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

Sidebar

Related Questions

I am retrieving json data from a url. The json string has one object
I'm trying to use NSJSONSerialization for retrieving JSON data, the problem is that I
I'm parsing a JSON file that I'm retrieving by accessing an API. Right now,
I am retrieving json from a php file that connects to the database and
I am retrieving some JSON data with the following function. It is called when
I will be retrieving multiple blocks of json data over time and deserializing them
I am retrieving JSON using jQuery's getJSON call. My problem is that some of
What's the best practice for retrieving JSON values that may not even exist in
I'd like to read in an XML file that is stored on my Tomcat
So I'm retrieving some JSON data from a website and using the standard urlopen()

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.