header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
NileshPawar
Points:280
Posts:0

1/3/2011 12:19:04 AM

Title: How to decode JSON string? Urgent plz help !!


I have following JSON string and want to decode it in flex arraycollection of objects.



{"buckets":[{"bucketID":0,"startingIndex":0,"endingIndex":17476,"lowThreshold":0.0,"highThreshold":0.15,"docCount":17477},{"bucketID":1,"startingIndex":17477,"endingIndex":20254,"lowThreshold":0.15,"highThreshold":0.25,"docCount":2778},{"bucketID":2,"startingIndex":20255,"endingIndex":22230,"lowThreshold":0.25,"highThreshold":0.35,"docCount":1976},{"bucketID":3,"startingIndex":22231,"endingIndex":109549,"lowThreshold":0.35,"highThreshold":1.0,"docCount":87319}],"subscriber":1,"caseID":2,"runID":3,"histogramID":0,"name":"Histogram_0"}

Thanks, Nilesh



1
Justin
Points: 600
Posts:0
1/7/2011 12:34:26 AM



i think you can split the strings in a loop and add the data to an array collection


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 3+3 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions