On Fri, Jan 14, 2011 at 11:39:21AM +0100, Coen Schalkwijk wrote:
> I have a mapping containing different kind of objects. In order to 
> succesfully deserialize any object. I need to know the 'original' type 
> of the object to put in the XML so that the receiving/deserializing 
> language knows whether 1 is a string or an int.

as far as i can tell you are getting that information. 

> >>mapping(string:mixed) map = ([]);

you are declaring that the type of the value is mixed, and typeof() is
telling you exactly that:

> >>typeof(map["test_null"]);
> >>>mixed

what other information did you expect here?

greetings, martin.
          • ... Johan Björklund
          • ... H. William Welliver III
          • ... Coen Schalkwijk
          • ... Coen Schalkwijk
          • ... Bertrand LUPART
          • ... Coen Schalkwijk
          • ... Coen Schalkwijk
          • ... Coen Schalkwijk
          • ... Martin Bähr
          • ... Coen Schalkwijk
          • ... Martin Bähr
          • ... Coen Schalkwijk
          • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
          • ... Martin Bähr
  • Re:... Martin Bähr
    • ... Martin Nilsson (Opera Mini - AFK!) @ Pike (-) developers forum
      • ... Martin Baehr
        • ... Coen Schalkwijk

Reply via email to