++Storable
On 14 September 2013 09:39, Shlomi Fish <shlo...@shlomifish.org> wrote: > Hi Shaji, > > On Sat, 14 Sep 2013 16:19:26 +0800 (SGT) > *Shaji Kalidasan* <shajiin...@yahoo.com> wrote: > > > Dear David, > > > > Thanks for throwing light on the topic by citing the security > implications of > > executing eval and also suggesting the industry standard 'JSON' for > > interoperability. > > > > One should note that JSON is not the only sane option for serialisation and > deserialisation in Perl. There are also: > > * https://metacpan.org/release/Storable - a binary format that is > specific for > Perl, which works very well. Using it avoids some JSON-specific limitations > such as no references to scalars. Make sure you use "nstore" and friends > instead of "store". > > * http://blog.booking.com/the-next-sereal-is-coming.html - there's also > this, > but I have no experience with it. > > * There are other formats such as YAML, but YAML should be avoided because > it's > too complex and quirky (at least for serialisation). > > Regards, > > Shlomi Fish > > -- > ----------------------------------------------------------------- > Shlomi Fish http://www.shlomifish.org/ > Optimising Code for Speed - http://shlom.in/optimise > > Whitespace in Python is not a problem: just lay out all the whitespace > first, > then add the code around it. > — sizz on Freenode’s #perl > > Please reply to list if it's a mailing list post - http://shlom.in/reply . > > -- > To unsubscribe, e-mail: beginners-unsubscr...@perl.org > For additional commands, e-mail: beginners-h...@perl.org > http://learn.perl.org/ > > >