On Fri, Jan 14, 2011 at 01:47:26PM +0100, Coen Schalkwijk wrote: > I was hoping I'd get 'string' for the type...
you can not get string if the variable is defined with mixed: > >>>>mapping(string:mixed) map = ([]); if you define it as mapping(string:string) map = ([]); then typeof() would give you string as a result. > Now that I've thought it > over a bit more: there's no need to know the type of a NULL object in > order to deserialize. well, you need the type of a variable in order to recreate the variable with the same type. greetings, martin.
