[haXe] serializing a hash?

Nicolas Cannasse ncannasse at motion-twin.com
Tue Aug 1 14:55:13 CEST 2006


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

If you want to serialize something in Neko-only (that means, not sending
the data to other platforms), you can use neko.Lib.serialize and
neko.Lib.unserialize as well. This will use a binary format string that
can be stored in a database (BLOB type).

Nicolas



More information about the Haxe mailing list