[haXe] serializing a hash?

Michael Pliskin pl at tepkom.ru
Tue Aug 1 12:38:35 CEST 2006


Hello Dennis,

D> The other question I wanted to ask is - can a hash be serialized - or
D> can only objects be serialized? I was trying to find an easy way to 
D> serialize a hash to a string that I could store in a database.

Why don't use haxe.Serializer.run() for that? It should be able to
serialize/deserialize any object.. And hash on most platforms (at
least on Flash/JS) is just an object internally, nothing else.

-- 
Best regards,
 Michael                            mailto:pl at tepkom.ru




More information about the Haxe mailing list