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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:59:06+00:00 2026-05-26T01:59:06+00:00

in my app when the user clicks a button, it hits an url and

  • 0

in my app when the user clicks a button, it hits an url and i use to get a return data in json format as follows

{
  "Status":
        {
            "image":
            [ 
                { 
                    "Large" : "http://XXXXXXXXXXXXXXXXXX.com/images/original/1316145577.jpg", 
                    "Small" : "http://XXXXXXXXXXXXXXXXXX.com/images/thumb70/1316145577.jpg" 
                }, 
                {   "Large" : "http://XXXXXXXXXXXXXXXXXX.com/images/original/1316146270.jpg", 
                    "Small" : "http://XXXXXXXXXXXXXXXXXX.com/images/thumb70/1316146270.jpg" 
                }, 
                {   "Large" : "http://XXXXXXXXXXXXXXXXXX.com/images/original/1316146473.jpg", 
                    "Small" : "http://XXXXXXXXXXXXXXXXXX.com/images/thumb70/1316146473.jpg" 
                }, 
                {   "Large" : "http://XXXXXXXXXXXXXXXXXX.com/images/original/1316147003.jpg", 
                    "Small" : "http://XXXXXXXXXXXXXXXXXX.com/images/thumb70/1316147003.jpg" 
                }, 
                {   "Large" : "http://XXXXXXXXXXXXXXXXXX.com/images/original/1316581422.jpg", 
                    "Small" : "http://XXXXXXXXXXXXXXXXXX.com/images/thumb70/1316581422.jpg" 
                }, 
                {   "Large" : "http://XXXXXXXXXXXXXXXXXX.com/images/original/1316694587.jpg", 
                    "Small" : "http://XXXXXXXXXXXXXXXXXX.com/images/thumb70/1316694587.jpg" 
                } 
            ]
        }
} 

i want to do json parsing and store the URLs named under Large to be stored in an Array and URLs named under Small to be stored in another array. I want this to be done using javascript.

For example in my app in another url my json data is to be as follows

{"Status":[{ "Id": "46", "Username": "guru" }]} 

For this i use to get the data as

var data = JSON.parse(my_JSON_object);

var id = data.Status[0].Id;
var name = data.Status[0].Username;

But how to parse for the json array mentioned first.
How to do this, pls help me friends

  • 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-05-26T01:59:06+00:00Added an answer on May 26, 2026 at 1:59 am

    i got the answer by this way

    var data = JSON.parse(my_JSON_object);
    
                        var image = [];
                        for(var i=0; i< image.length(); i++)
                        {   
                            image[i] = data.Status.image[0].Large;
                            alert(image);
                        }
                            alert(image);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my typical app, the user clicks a button in an aspx page, invokes
I have an app in which the user clicks a button, triggering an iFrame
I have an AJAX app. A user clicks a button, and the page's display
I'm creating an Android app, when a user clicks a button in the app
in my app when user clicks on a spell button then it play audio
i am trying to create an app. When user clicks on the button, it
In my app when user clicks on a gallery widget i open the image
in my ios app when the user clicks a button it opens email part
in my app i have a button named Search, When the user clicks the
I'm showing custom indicator when user clicks a button to purchase an in-app item.

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.