1 Reply Latest reply on Aug 3, 2011 9:50 AM by Claudiu Ursica

    How to convert event.result into userdefined object.

    Raghuvasa

      Hi All,

       

              How to convert event.result into userdefined object.

       

      I am getting result from java class by using HttpService and the resultFormat is object.

       

      I have a as class like UserDetails.

       

      public class UserDetails
          {
              public function UserDetails()
              {
              }
             
              private var _firstName:String;
              private var _lastName:String;
              private var _age:int;

       

            Getters n setters here.......

      }

       

      Now i want to convert event.result into UserDetails object.

       

      How can i do this.

       

      Can any one help me regarding this.

       

      Thanks in advance

      Raghu.