0

I using Flash builder 4.5 and calling my own webservice which return a json with four fields, but many records.

I use the Data/Service to create the service and when I use the "Test Operation" I get the first record with the four fields, if I change to raw view I see five records.

My problem when I bind it to a list I only get the first record, regardless if I return the result as an array or arraycollection. I have a Data Type called NoName1 which have four fields.

My question is how to get the result from a json into a list,the way I do it now will only show the first record in the list.

Thanks, Kim

  <s:CallResponder id="Operation1Result" result="Operation1Result.lastResult as NoName1"/>
ketan
  • 19,129
  • 42
  • 60
  • 98
Kim HJ
  • 1,183
  • 2
  • 11
  • 37
  • Welcome to SO. It is not clear what is the actual question. Probably you should rephrase, so it is easier to understand your goal. Also, I'd advise to consult the [FAQ](http://stackoverflow.com/faq). – FireAphis Nov 17 '11 at 14:33

2 Answers2

0

To decode JSON you can use the as3corelib library

Alexander Farber
  • 21,519
  • 75
  • 241
  • 416
  • Flash builder 4.5.1 takes care of the deserializing of the json. I found the problem, the json from the website was not formatted corretly. – Kim HJ Nov 20 '11 at 07:03
0

Flash builder 4.5.1 takes care of the deserializing of the json. I found the problem, the json from the website was not formatted corretly

Kim HJ
  • 1,183
  • 2
  • 11
  • 37