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

  • Home
  • SEARCH
  • 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 6139171
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T17:57:22+00:00 2026-05-23T17:57:22+00:00

This is my json response {COLUMNS:[LABEL1, LABEL2, RATE1, RATE2], DATA:[[tps, tvq, 10.0, 20.0]]} And

  • 0

This is my json response

{"COLUMNS":["LABEL1", "LABEL2", "RATE1", "RATE2"], "DATA":[["tps", "tvq", 10.0, 20.0]]} 

And I want to be able to loop only over the DATA element.

I don’t have any code because I have no clue how to do this. Just learning this new language.

  • 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-23T17:57:23+00:00Added an answer on May 23, 2026 at 5:57 pm
    // response.DATA is an array with just one element
    var dataElements = response.DATA;
    
    // The first element in that array is another array containing your data
    var firstData = dataElements[0];
    
    // Loop through and access each individual element
    for (var i = 0; i < firstData.length; i++) {
      alert(firstData[i]);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a JSON response that looks like this: { COLUMNS:[SETTING_NAME,SETTING_VALUE,COLOR], DATA: [ [setting_1,100.0,yellow],
I have this JSON response string: {d:{\ID_usuario\:\000130\,\Nombre\:null,\Vipxlo\:0,\Provmun\:null,\Descuentos\:null,\Listaviplocal\:null}}` With this code: - (void)connectionDidFinishLoading:(NSURLConnection *)connection {
If i have this json response {error:repeated} Why the alert is not showed? It
I'm using the Google Maps API. Please see this JSON response . The HTML
This is my json response : [{customer:{account_id:1,account_number:null,alt_contact:null,alt_phone:null,alt_phone_number:,balance:null,billing_address:341234 sucka ma cocka,billing_city:apple,billing_country:,billing_state:nj,billing_zip_code:021231,company_name:null,contact:null,created_at:2012-03-08T06:02:38-08:00,created_by:1,credit_limit:null,custom_datetime1:null,custom_datetime10:null,custom_datetime2:null,custom_datetime3:null,custom_datetime4:null,custom_datetime5:null,custom_datetime6:null,custom_datetime7:null,custom_datetime8:null,custom_datetime9:null,custom_number1:null,custom_number10:null,custom_number2:null,custom_number3:null,custom_number4:null,custom_number5:null,custom_number6:null,custom_number7:null,custom_number8:null,custom_number9:null,custom_text1:null,custom_text10:null,custom_text11:null,custom_text12:null,custom_text13:null,custom_text14:null,custom_text15:null,custom_text16:null,custom_text17:null,custom_text18:null,custom_text19:null,custom_text2:null,custom_text20:null,custom_text3:null,custom_text4:null,custom_text5:null,custom_text6:null,custom_text7:null,custom_text8:null,custom_text9:null,customer_number:151,customer_source_id:4,customer_type_id:2,customer_type_ref_full_name:null,delivery_method:null,edit_sequence:null,email:null,email_address:apple@adsfsd.com,fax:,first_name:null,full_name:123 Landscaping,id:431,is_active:null,is_statement_with_parent:null,item_sales_tax_ref_full_name:null,item_sales_tax_ref_list_id:null,job_desc:null,job_end_date:null,job_projected_end_date:null,job_start_date:null,job_status:null,job_type_ref_full_name:null,last_name:null,list_id:null,mobile:null,name:123 Landscaping,pager:null,parent_id:null,parent_ref_list_id:null,password:null,phone:234234234,phone_number:234234234,preferred_payment_method_ref_full_name:null,price_level_ref_full_name:null,qb_parent_list_id:null,resale_number:null,sales_rep_ref_full_name:null,sales_tax_code_ref_full_name:null,sales_tax_code_ref_list_id:null,service_address:341234 sucka ma
This is my code for creating Json response for jqGrid and for new keyword
I am getting json response from this google api service to get reverse geo
I am getting json response like this {item_id:1,item_title:Item 1}{item_id:2,item_title:Item 2} how would I parse
im getting response in json, but this wont parse the json response. what m
i am getting the JSON response like this : [ {IndexID:1,IndexName:Consumer Confidence Index(CCI),IndexValue:34.79,Month:10,PercentageChanged:0,Position:0,Year:2011}, {IndexID:1,IndexName:Consumer

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.