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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T11:05:42+00:00 2026-05-28T11:05:42+00:00

So I know how to get json data into flash with twitter’s search api

  • 0

So I know how to get json data into flash with twitter’s search api because the array names normally aren’t weird, but I’m not really too experienced with json. For the trends api data, I’m not sure how to access it because the array name is the date and theres spaces and colons in it, and I’m not really sure what to do. Normally in flash to get the json data I’d do something like

json.trends[0].2012-01-21 01:20.name

but that doesn’t work. Can someone tell me how to pull out the name data when the array name is the date. I apologize if I’m calling these things the wrong name, I’m not too sure on what their proper names are.

To get a better understanding of what I’m talking about copy this link https://api.twitter.com/1/trends/daily.json into this site http://jsonformatter.curiousconcept.com/ in order to format the JSON.

I hope my question makes sense and thank you very much in advance.

  • 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-28T11:05:43+00:00Added an answer on May 28, 2026 at 11:05 am
                var result:Object = JSON.decode(urlLoader.data);
    
                var trends:Object = result.trends;
    
                // trends in an object here, not array
                // loop to find the properties in trends 
                for(var date:String in trends){
                    // date is a property of trends 
                    // trends[date] is the value of property date
                    // trends[date] is an array
                    var items:Array = trends[date];
    
                    //for (var i=0; i<items.length; i++){
                    //  var item:Object = items[i];
    
                    // loop in the array to get each item
                    for each(var item:Object in items){
    
                    }
    
                }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to get JSON data to turn it into html but the JSON
I'm trying to get a property from JSON data decoded into a PHP object.
hi i want to know how to put the json data into html is
My problem: I have an JSON Array containing arrays, which i render into the
I'm trying to parse an NSString that contains JSON data into an NSDictionary using
I am using this code to try to get json data from many json
I am parsing with the JSON parser. I stored the data into searchURL ,
I've recently written a custom API for inserting data into my database from multiple
This is almost exactly the same as this question json get key names as
I am trying to get the data from Wikipedia's infoboxes into a hash or

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.